Re: [PATCH 2/4] btrfs-progs: Enhance btrfs-find-root.

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

 




-------- Original Message --------
Subject: Re: [PATCH 2/4] btrfs-progs: Enhance btrfs-find-root.
From: David Sterba <dsterba@xxxxxxx>
To: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>
Date: 2015年01月15日 01:58
On Wed, Nov 12, 2014 at 01:52:12PM +0800, Qu Wenruo wrote:
Enhance btrfs-find-root in the following way:
1. Use existing or lightly modified btrfs infrastructure
    Don't use btrfs-find-root local defined open_ctree or csum check.
    Slightly modify open_ctree() and csum_tree_block() to provide the
    chunk-only open_ctree and suprress error output for csum_tree_block()

2. Output the trees in an ascending order of generation
    Normally, end user running btrfs-find-root is hoping to find out a
    recently new old root.
    So output the search result in an ascending order of generation.

3. Hide the obviously not tree root node/leaf
    Only output the node/leaf with the highest level among its generation
    to simplify the output.
Can you please split this patch into logical and possibly independent
parts? There are cleanups, core functionality changes and new option(s)
added.
OK, I'll try to split them into more reasonable parts.

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



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

  Powered by Linux