Re: patch intoducing IOctl #21 allowing for waiting for completion of deleted subvol recovery

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

 



Hi,

On Wed, Oct 6, 2010 at 11:05 AM, David Nicol <davidnicol@xxxxxxxxx> wrote:
> The patches for btrfsctl and btrfs programs will be coming soon; I'm
> adding support for ISO8061 duration strings instead of (or in addition
> to) milliseconds and thinking about switching the order of the two
> args to btrfsctl -C from (path(default=.), ms(default=0)) to timeout
> then path, to keep it consistent with the other btrfsctl commands.
> Currently -C is special-cased in the bottom half of my btrfsctl.c
> because the path isn't the last argument.
>
> Btrfsctl apparently allows several operations to be presented as one
> set of command line arguments, sort of like find(1) does; would
> someone who does that a lot please respond off-list to discuss the
> ideal semantics of new commands?
>

The first thing I notice is that you use btrfsctl, you should base
this work on the new 'btrfs' command, which is consistant in how the
command are structured.
You could use: btrfs filesystem sync -d <path>  for example, it would
be like a normal sync but waits for pending '-d'eletion.
--
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