Whamcloud - gitweb
LU-2479 ldiskfs: fix max_dir_size checking
authorJames Simmons <uja.ornl@gmail.com>
Tue, 14 May 2013 14:39:12 +0000 (10:39 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 14 Jun 2013 01:46:59 +0000 (21:46 -0400)
commitaed82035c0d194347f5cab17ebd48f355c379b1b
tree062b53070cada92010ae5ad9f106a538a2c38d10
parent7b4daff56b8d78634ecd891c60ea18740c562cc7
LU-2479 ldiskfs: fix max_dir_size checking

This patch fix max_dir_size checking and adds max_dir_size_kb
mount options according to ext4 main line patch
df981d03eeff7971ac7e6ff37000bfa702327ef1. Sanity test 129
changed to check directory size limits.

1) file creation without directory size increase
2) file creation after directory limit
3) file creation with disable limit

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Xyratex-bug-id: MRP-697
Change-Id: I3b8502c0b1fa77622a4a0da6ef8d33d4f8194f69
Reviewed-on: http://review.whamcloud.com/5140
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
ldiskfs/kernel_patches/patches/rhel6.3/ext4-max-dir-size-options.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel6.3/ext4-max-dir-size.patch
ldiskfs/kernel_patches/patches/rhel6.4/ext4-max-dir-size-options.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/sles11sp1/ext4-max-dir-size-options.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/sles11sp2/ext4-max-dir-size-options.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.4.series
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.series
ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series
ldiskfs/kernel_patches/series/ldiskfs-3.0-sles11.series
lustre/tests/sanity.sh