Re: inquiry on btrfs send/receive

2012-06-05 Thread Alex Lyakas
On Tue, Jun 5, 2012 at 12:16 PM, Alexander Block wrote: > On Mon, Jun 4, 2012 at 7:33 PM, Alex Lyakas > wrote: >> >> Yes, I also noticed that sometimes transid gets bumped up, but there >> is no actual change. >> >> So let's say you identify that a particular part of the tree is not >> shared any

Re: inquiry on btrfs send/receive

2012-06-05 Thread Alexander Block
On Mon, Jun 4, 2012 at 7:33 PM, Alex Lyakas wrote: > > Yes, I also noticed that sometimes transid gets bumped up, but there > is no actual change. > > So let's say you identify that a particular part of the tree is not > shared anymore, and, say, eventually you get to a particular leaf > within th

Re: inquiry on btrfs send/receive

2012-06-04 Thread Alex Lyakas
On Mon, Jun 4, 2012 at 6:33 PM, Alexander Block wrote: > On Mon, Jun 4, 2012 at 5:10 PM, shyam btrfs wrote: >> Hi Alex, Jan, >> >> I was also interested in send/receive semantics & was thinking that if >> we adhere to the semantics as in >> http://www.mail-archive.com/linux-btrfs@vger.kernel.org/

Re: inquiry on btrfs send/receive

2012-06-04 Thread Alex Lyakas
Hi Arne, On Mon, Jun 4, 2012 at 4:01 PM, Arne Jansen wrote: > On 04.06.2012 14:39, Alex Lyakas wrote: > >> >> # How does one track changes in generic INODE_ITEM properties, like >> "mode" or "uid/gid"? Whenever such property gets changed, INODE_ITEM >> gets stamped with a new transid, but do we n

Re: inquiry on btrfs send/receive

2012-06-04 Thread Alexander Block
On Mon, Jun 4, 2012 at 5:10 PM, shyam btrfs wrote: > Hi Alex, Jan, > > I was also interested in send/receive semantics & was thinking that if > we adhere to the semantics as in > http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg07482.html > of: > > it is impossible to track the "deleted"

Re: inquiry on btrfs send/receive

2012-06-04 Thread shyam btrfs
Hi Alex, Jan, I was also interested in send/receive semantics & was thinking that if we adhere to the semantics as in http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg07482.html of: it is impossible to track the "deleted" items (files,dirs, eXtended attributes). I can develop a command

Re: inquiry on btrfs send/receive

2012-06-04 Thread Alexander Block
On Mon, Jun 4, 2012 at 2:39 PM, Alex Lyakas wrote: > Hi Jan, Alex, > > I have seen some discussions about btrfs send/receive functionality > being developed by you. I have also been interested in this. I spent > some time coding a prototype doing something like Alex described in > http://www.spini

Re: inquiry on btrfs send/receive

2012-06-04 Thread Arne Jansen
On 04.06.2012 14:39, Alex Lyakas wrote: > > # How does one track changes in generic INODE_ITEM properties, like > "mode" or "uid/gid"? Whenever such property gets changed, INODE_ITEM > gets stamped with a new transid, but do we need to compare it with the > previous version on the receive side to

inquiry on btrfs send/receive

2012-06-04 Thread Alex Lyakas
Hi Jan, Alex, I have seen some discussions about btrfs send/receive functionality being developed by you. I have also been interested in this. I spent some time coding a prototype doing something like Alex described in http://www.spinics.net/lists/linux-btrfs/msg16175.html, i.e., walking over FS t