Whamcloud - gitweb
LU-7819 tests: fix checkfiemap for stripecount > 1 79/18679/9
authorAshish Purkar <ashish.purkar@seagate.com>
Fri, 26 Feb 2016 04:55:47 +0000 (20:55 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Apr 2017 04:45:34 +0000 (04:45 +0000)
commit8b8bc6eee05758cec346f1f9aeed92f3334d8cf3
tree18d8f0b469c5f34b1ba240fdd9284ca113a41e19
parent51f0876dc6fbe0e90ba512c8c7f124a282b4eec0
LU-7819 tests: fix checkfiemap for stripecount > 1

If sanityn test_71 is ran with stripecount > 1, it fails
with "error while ioctl 95" i.e. EOPNOTSUPP.

FIEMAP_FLAG_DEVICE_ORDER flag must be set while issuing
FS_IOC_FIEMAP ioctl.

New test case 71b to check fiemap for stripe count > 1
Renamed original test_71 to 71a

Test-Parameters: trivial testlist=sanityn envdefinitions=ONLY=71
Seagate-bug-id: MRP-2858
Signed-off-by: Ashish Purkar <ashish.purkar@seagate.com>
Change-Id: If62370fbcfd586607e0f0da2b348070641bed0d1
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Reviewed-by: Ujjwal Lanjewar <ujjwal.lanjewar@seagate.com>
Tested-by: Parinay Vijayprakash Kondekar <parinay.kondekar@seagate.com>
Reviewed-on: https://review.whamcloud.com/18679
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
lustre/tests/checkfiemap.c
lustre/tests/sanityn.sh