On 16/10/17 14:28, David Sterba wrote:
> On Sun, Oct 15, 2017 at 04:19:23AM +0300, Cerem Cem ASLAN wrote:
>> `btrfs send | btrfs receive` removes NOCOW attributes. Is it a bug or
>> a feature? If it's a feature, how can we keep these attributes if we
>> need to?
> 
> This is a known defficiency of send protocol v1. And there are more,
> listed on
> https://btrfs.wiki.kernel.org/index.php/Design_notes_on_Send/Receive#Send_stream_v2_draft

It is not mentioned on the list (and I haven't tested to find out)...
but if xattr are supported in the V1 protocol, any chance of `send`
converting these file flags to xattr, and `receive` converting back? No
need for a protocol bump and would even preserve the information
(although not the effect) in the case of an old receiver.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to