[Bugs] [Bug 1324059] quota: check inode limits only when new file/ dir is created and not with write FOP

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 19 12:31:54 UTC 2016


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

Anil Shah <ashah at redhat.com> changed:

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



--- Comment #10 from Anil Shah <ashah at redhat.com> ---
1) create volume
2) # gluster volume quota vol1 limit-objects /test_dir 10
3) exceeded  inode limit. Create 9 files in loop 



On client:
=======================================

[root at rhsqa7 test_dir]# for i in {1..9}; do touch /mnt/fuse/test_dir/f$i;  
done

[root at rhsqa7 test_dir]# for i in {1..9}; do dd if=/dev/zero
of=/mnt/fuse/test_dir/f$i bs=256k count=4 ;done4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0149057 s, 70.3 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0130044 s, 80.6 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0127165 s, 82.5 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0220667 s, 47.5 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0129507 s, 81.0 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0216383 s, 48.5 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0216434 s, 48.4 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0217204 s, 48.3 MB/s
4+0 records in
4+0 records out
1048576 bytes (1.0 MB) copied, 0.0213431 s, 49.1 MB/s

Bug verified on build glusterfs-3.8.4-2.el7rhgs.x86_64

-- 
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=Y5OGfrMt2u&a=cc_unsubscribe


More information about the Bugs mailing list