Re: [PATCH] fstests: introduce btrfs-map-logical

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]





At 04/12/2017 09:27 AM, Liu Bo wrote:
A typical use case of 'btrfs-map-logical' is to translate btrfs logical
address to physical address on each disk.

Could we avoid usage of btrfs-map-logical here?

I understand that we need to do corruption so that we can test if the repair works, but I'm not sure if the output format will change, or if the program will get replace by "btrfs inspect-internal" group.

Thanks,
Qu


Signed-off-by: Liu Bo <bo.li.liu@xxxxxxxxxx>
---
  common/config | 1 +
  1 file changed, 1 insertion(+)

diff --git a/common/config b/common/config
index 59041a3..b7c06bf 100644
--- a/common/config
+++ b/common/config
@@ -249,6 +249,7 @@ case "$HOSTOS" in
          export BTRFS_UTIL_PROG="`set_prog_path btrfs`"
          export BTRFS_SHOW_SUPER_PROG="`set_prog_path btrfs-show-super`"
  	export BTRFS_CONVERT_PROG="`set_prog_path btrfs-convert`"
+	export BTRFS_MAP_LOGICAL_PROG="`set_prog_path btrfs-map-logical`"
          export XFS_FSR_PROG="`set_prog_path xfs_fsr`"
          export MKFS_NFS_PROG="false"
          export MKFS_CIFS_PROG="false"



--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux