]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/108: use blockdev utility to calculate physical and logical block size
authorNitesh Shetty <nj.shetty@samsung.com>
Wed, 23 Mar 2022 18:06:43 +0000 (23:36 +0530)
committerEryu Guan <guaneryu@gmail.com>
Sun, 10 Apr 2022 15:15:49 +0000 (23:15 +0800)
commit513338e6a74342d5614c7a27b278f0195e42a12f
tree7e04e2458454dda1b5003a2fb21c7f1b9d28db1c
parent52fe88c9f545f24670b12133e3941a9e0bafb929
generic/108: use blockdev utility to calculate physical and logical block size

Reading sysfs to get physical and logical block fails,
if SCRATCH_DEV is partitioned device.

Signed-off-by: Nitesh Shetty <nj.shetty@samsung.com>
Reported-by: Darrick J. Wong <djwong@kernel.org>
Reported-by: Wang Yugui <wangyugui@e16-tech.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/108