Re: [Request for review] [RFC] Add label support for snapshots and subvols

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

 



On Mon, Nov 05, 2012 at 03:24:48PM +0800, Anand Jain wrote:
>  feature    xattr     btrfs-kernel-way
>  [1]         No        Yes
>  [2]         No        Yes
>  [3]         Yes       No
> 
> 
>  [1]. Ability to read subvol label without mount

It is possible to read it offline, one can traverse the data structures
the same way as from kernel, ie root_tree -> subovlume fs_tree -> root
directory item -> xattr item.

>  [2]. Full-ability to log and track the property
>       when it is modified

What is expected to happen when the label changes? I understand that
somebody may change the xattr value silently, but let's say this is
changed through kernel -- do you intend to prohibit any changes or issue
some notification or whatever?

>  [3]. risk-free patch ?

No patch is risk free :) but yes, xattrs use an established and tested
infrastruture.

davdi
--
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