RE: mkdir and fsync

2014-09-14 Thread Samer Al-Kiswany
[mailto:c...@fb.com] Sent: Thursday, September 11, 2014 6:29 AM To: Samer Al-Kiswany; linux-btrfs@vger.kernel.org Subject: Re: mkdir and fsync On 09/10/2014 04:55 PM, Samer Al-Kiswany wrote: > Hi, > > Thank you for help. > > I am seeing a strange behavior when fsync()ing a director

mkdir and fsync

2014-09-10 Thread Samer Al-Kiswany
Hi, Thank you for help. I am seeing a strange behavior when fsync()ing a directory. Here is what I do for (i=0; i < 100,000, i++){ . mkdir(p/child_i) fsync(p) } Btrfs seems to achieve around 100k fsycs/second, which makes me believe it is not touching the disk during these