Re: [RFC][PATCH] link.2: AT_ATOMIC_DATA and AT_ATOMIC_METADATA

2019-06-01 Thread Amir Goldstein
On Sat, Jun 1, 2019 at 1:46 AM Dave Chinner wrote: > > On Fri, May 31, 2019 at 12:41:36PM -0400, Theodore Ts'o wrote: > > On Fri, May 31, 2019 at 06:21:45PM +0300, Amir Goldstein wrote: > > > What do you think of: > > > > > > "AT_ATOMIC_DATA (since Linux 5.x) > > > A filesystem which accepts this

Re: [RFC][PATCH] link.2: AT_ATOMIC_DATA and AT_ATOMIC_METADATA

2019-06-01 Thread Amir Goldstein
On Sat, Jun 1, 2019 at 2:28 AM Dave Chinner wrote: > > On Sat, Jun 01, 2019 at 08:45:49AM +1000, Dave Chinner wrote: > > Given that we can already use AIO to provide this sort of ordering, > > and AIO is vastly faster than synchronous IO, I don't see any point > > in adding complex barrier interfa

Re: 'watch btrfs fi show' crash while 'btrfs device delete'

2019-06-01 Thread Peter Hjalmarsson
Hi, I was the one reporting the issue to the Red Hat Bugzilla, and was able to reproduce it as well The problem is related to resizing a btrfs filesystem (at least with the helpf of "btrfs dev del") and being able to hit "btrfs fi sh" at the same time as the size is changed.. Something in the log