[Bugs] [Bug 1178134] Dentries with trailing '/' are added when quota is enabled in bricks

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 6 05:23:38 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1178134

Saurabh <saujain at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #3 from Saurabh <saujain at redhat.com> ---
For verifying this BZ I had a discussion with developers and as per them the
test case should include rebalance while I/O is going. In order to generate I/O
the script recommened is this one,

#!/bin/bash

NUM_DIRS=50
NUM_FILES=200

#Create directories and files


for (( i=1; i<=$NUM_DIRS; i+=1));do
        mkdir olddir$i;
        for (( j=0; j<$NUM_FILES; j+=1));do
                touch olddir$i/file$j;
        done    
done

#Deep directory structure
for (( i=$NUM_DIRS; i>=2; i-=1));do
        mv olddir$i olddir`expr $i - 1`;
done

echo "Stage 1 complete"

#sleep 20;

#Start renaming
echo "Start renaming..."
for (( i=1; i<=$NUM_DIRS; i+=1));do
        mv olddir$i longernamedir$i;
        cd longernamedir$i;
        for (( j=0; j<$NUM_FILES; j+=1));do
                mv file$j newfile$j;
        done
done

Result should be that rebalance should finish properly and there should not be
any crash.
Also execute some tool Iozone on the mount-point over nfs and see if there is
any slowness in performance.
Althrough this quota was enabled and limit was set.


Based on this I am moving this BZ to verified state.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=q8XcyIfPlY&a=cc_unsubscribe


More information about the Bugs mailing list