Re: Directory entry not persisted on a fsync

2018-04-24 Thread Vijay Chidambaram
Hi all, Any thoughts on this? We completely understand you are all busy and might be traveling, so we only need a simple ack from you: that when we fsync a directory in btrfs, we can expect the contents to get persisted. We understand that is not your highest priority item, and that you will fix

Re: Directory entry not persisted on a fsync

2018-04-22 Thread David Sterba
On Sat, Apr 21, 2018 at 12:23:58PM -0500, Jayashree Mohan wrote: > A gentle reminder on the above behavior on btrfs : Even on fsync-ing > the directory, its entries are not persisted. Could you let us know > your thoughts on this? Sending a gentle reminder one day after the report and even on a we

Re: Directory entry not persisted on a fsync

2018-04-21 Thread Jayashree Mohan
Hi, A gentle reminder on the above behavior on btrfs : Even on fsync-ing the directory, its entries are not persisted. Could you let us know your thoughts on this? Thanks, Jayashree Mohan On Fri, Apr 20, 2018 at 1:05 PM, Jayashree Mohan wrote: > Hi, > > We came across a scenario where inspite

Directory entry not persisted on a fsync

2018-04-20 Thread Jayashree Mohan
Hi, We came across a scenario where inspite of fsync-ing the directory, the entry was not persisted - the file created under this directory was lost. Consider the following workload : 1. creat test/foo 2. mkdir test/A 3. creat test/A/foo 4. fsync test/A/foo 5. fsync test -crash- When we