Re: [PATCH] blk-mq: fix a hung issue when fsync

2019-02-17 Thread Sasha Levin
On Sun, Feb 17, 2019 at 04:37:29PM +0100, Thibaut Sautereau wrote: On Wed, Jan 30, 2019 at 08:54:09AM -0700, Jens Axboe wrote: On 1/30/19 2:01 AM, Jianchao Wang wrote: > Florian reported a io hung issue when fsync(). It should be > triggered by following race condition. > > data + post flush

Re: [PATCH] blk-mq: fix a hung issue when fsync

2019-02-17 Thread Thibaut Sautereau
On Wed, Jan 30, 2019 at 08:54:09AM -0700, Jens Axboe wrote: > On 1/30/19 2:01 AM, Jianchao Wang wrote: > > Florian reported a io hung issue when fsync(). It should be > > triggered by following race condition. > > > > data + post flush a flush > > > > blk_flush_complete_seq > > case REQ

Re: [PATCH] blk-mq: fix a hung issue when fsync

2019-01-30 Thread Jens Axboe
On 1/30/19 2:01 AM, Jianchao Wang wrote: > Florian reported a io hung issue when fsync(). It should be > triggered by following race condition. > > data + post flush a flush > > blk_flush_complete_seq > case REQ_FSEQ_DATA > blk_flush_queue_rq > issued to driver blk_mq_dispa

[PATCH] blk-mq: fix a hung issue when fsync

2019-01-30 Thread Jianchao Wang
Florian reported a io hung issue when fsync(). It should be triggered by following race condition. data + post flush a flush blk_flush_complete_seq case REQ_FSEQ_DATA blk_flush_queue_rq issued to driver blk_mq_dispatch_rq_list try to issue a flus