Re: btrfs send 'leaks' open files

2013-10-22 Thread Zach Brown
On Tue, Oct 22, 2013 at 06:22:49PM +0100, Al Viro wrote: > On Sun, Oct 20, 2013 at 11:33:56AM +0100, Phil Davis wrote: > > > The reason I think btrfs send is leaking open files is if you watch > > /proc/sys/fs/file-nr you see the > > number of open files increasing but if you kill the btrfs send

Re: btrfs send 'leaks' open files

2013-10-22 Thread Josef Bacik
On Tue, Oct 22, 2013 at 09:41:05PM +0100, Al Viro wrote: > On Tue, Oct 22, 2013 at 06:22:49PM +0100, Al Viro wrote: > > On Sun, Oct 20, 2013 at 11:33:56AM +0100, Phil Davis wrote: > > > > > The reason I think btrfs send is leaking open files is if you watch > > > /proc/sys/fs/file-nr you see the >

Re: btrfs send 'leaks' open files

2013-10-22 Thread Al Viro
On Tue, Oct 22, 2013 at 06:22:49PM +0100, Al Viro wrote: > On Sun, Oct 20, 2013 at 11:33:56AM +0100, Phil Davis wrote: > > > The reason I think btrfs send is leaking open files is if you watch > > /proc/sys/fs/file-nr you see the > > number of open files increasing but if you kill the btrfs send

Re: btrfs send 'leaks' open files

2013-10-22 Thread Al Viro
On Tue, Oct 22, 2013 at 06:22:49PM +0100, Al Viro wrote: > On Sun, Oct 20, 2013 at 11:33:56AM +0100, Phil Davis wrote: > > > The reason I think btrfs send is leaking open files is if you watch > > /proc/sys/fs/file-nr you see the > > number of open files increasing but if you kill the btrfs send

Re: btrfs send 'leaks' open files

2013-10-22 Thread Al Viro
On Sun, Oct 20, 2013 at 11:33:56AM +0100, Phil Davis wrote: > The reason I think btrfs send is leaking open files is if you watch > /proc/sys/fs/file-nr you see the > number of open files increasing but if you kill the btrfs send > process then the open > files count reduces back down. In fact s

Re: btrfs send 'leaks' open files

2013-10-21 Thread David Sterba
On Sun, Oct 20, 2013 at 11:33:56AM +0100, Phil Davis wrote: > I also found Robert Buhren reporting very similar issue back in April 2013: > http://comments.gmane.org/gmane.comp.file-systems.btrfs/24795 > > If further information is needed, i'd be happy to help. Please open bug at bugzilla.kernel.

btrfs send 'leaks' open files

2013-10-20 Thread Phil Davis
Setup: Fedora 19 with kernel 3.11.4-201.fc19.x86_64 btrfs-progs-0.20.rc1.20130917git194aa4a-1.fc19.x86_64 I am trying to do an initial btrfs send of a large (206GB, 1392221 paths) snapshot to a single file on a different filesystem (a slow external USB drive with btrfs): btrfs send /tank/backu