Whamcloud - gitweb
tests: fix u_direct_io to work with older losetup
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 7 Jan 2023 04:45:27 +0000 (21:45 -0700)
committerLi Dongyang <dongyangli@ddn.com>
Fri, 28 Apr 2023 01:21:35 +0000 (11:21 +1000)
commit97561e59ca049b4d02f4713d21f51176fb2277f2
tree797674cc2e4f3536696378c6b2b7eb348de7725e
parent9005fe72d5619987593ec7ce52065dca9c11cf1c
tests: fix u_direct_io to work with older losetup

Older losetup does not have --sector-size, but this isn't really
needed for the test to work.  Instead specify the filesystem block
size directly to mke2fs, so that it works on all distros instead
of being skipped.

Change-Id: I5a0c82a9efdefd1b48f4d4288998c7725c9ae71e
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
tests/u_direct_io/expect
tests/u_direct_io/script