Re: WARN when unmounting a subvolume that is being synced

2018-03-14 Thread Tycho Andersen
On Wed, Mar 14, 2018 at 09:46:07AM +0200, Nikolay Borisov wrote: > > > On 14.03.2018 05:10, Tycho Andersen wrote: > > Hi all, > > > > I'm getting the WARN below. I think (?) what I'm doing when I get it > > is that I'm unmounting a subvolume whi

WARN when unmounting a subvolume that is being synced

2018-03-13 Thread Tycho Andersen
Hi all, I'm getting the WARN below. I think (?) what I'm doing when I get it is that I'm unmounting a subvolume while it's being synced (concurrent uses of the subvolume, at least, happy to look into it further if the stack trace is not so useful). Anyway, I can fairly reliably reproduce this on 4

Re: confusing mountinfo output when bind-mounting files

2016-03-21 Thread Tycho Andersen
On Mon, Mar 21, 2016 at 11:22:06AM -0600, Chris Murphy wrote: > On Mon, Mar 21, 2016 at 9:21 AM, Tycho Andersen > wrote: > > Hi all, > > > > I'm seeing some strange behavior when bind mounting files from a btrfs > > subvolume. Consider the output below: > >

confusing mountinfo output when bind-mounting files

2016-03-21 Thread Tycho Andersen
Hi all, I'm seeing some strange behavior when bind mounting files from a btrfs subvolume. Consider the output below: root@criu2:/tmp# mount -o loop /tmp/tester.btrfs /tmp/dir1 root@criu2:/tmp# touch dir1/file root@criu2:/tmp# sudo mount --bind dir1/file dir2/file root@criu2:/tmp# grep "/tmp/dir"