Re: huge fsync latencies for a small file on ext4

2019-02-26 Thread Jan Kara
On Mon 25-02-19 10:40:07, Sahitya Tummala wrote: > On Tue, Feb 19, 2019 at 02:53:02PM +0100, Jan Kara wrote: > > One has to be really careful when using i_size like this. By the time the > > transaction is committing, i_size could have been reduced from the value at > > the time page writeback was

Re: huge fsync latencies for a small file on ext4

2019-02-24 Thread Sahitya Tummala
On Tue, Feb 19, 2019 at 02:53:02PM +0100, Jan Kara wrote: > Hi! > > On Tue 19-02-19 15:50:23, stumm...@codeaurora.org wrote: > > I am observing huge fsync latencies for a small file under the below test > > scenario - > > > > process A - > > Issue async write of 4GB using dd command (say

Re: huge fsync latencies for a small file on ext4

2019-02-19 Thread Jan Kara
Hi! On Tue 19-02-19 15:50:23, stumm...@codeaurora.org wrote: > I am observing huge fsync latencies for a small file under the below test > scenario - > > process A - > Issue async write of 4GB using dd command (say large_file) on /data mounted > with ext4: > dd if=/dev/zero of=/data/testfile

huge fsync latencies for a small file on ext4

2019-02-19 Thread stummala
Hi, I am observing huge fsync latencies for a small file under the below test scenario - process A - Issue async write of 4GB using dd command (say large_file) on /data mounted with ext4: dd if=/dev/zero of=/data/testfile bs=1M count=4096 process B - In parallel another process wrote a