[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH 4/5] dm: implement REQ_FLUSH/FUA support for request-based dm
- From: Mike Snitzer <snitzer redhat com>
- To: Tejun Heo <tj kernel org>
- Cc: k-ueda ct jp nec com, jaxboe fusionio com, jamie shareable org, linux-kernel vger kernel org, linux-raid vger kernel org, linux-fsdevel vger kernel org, j-nomura ce jp nec com, hch lst de
- Subject: Re: [dm-devel] [PATCH 4/5] dm: implement REQ_FLUSH/FUA support for request-based dm
- Date: Mon, 30 Aug 2010 15:08:35 -0400
On Mon, Aug 30 2010 at 11:07am -0400,
Tejun Heo <tj kernel org> wrote:
> On 08/30/2010 03:59 PM, Tejun Heo wrote:
> > Ah... that's probably from "if (!elv_queue_empty(q))" check below,
> > flushes are on a separate queue but I forgot to update
> > elv_queue_empty() to check the flush queue. elv_queue_empty() can
> > return %true spuriously in which case the queue won't be plugged and
> > restarted later leading to queue hang. I'll fix elv_queue_empty().
>
> I think I was too quick to blame elv_queue_empty(). Can you please
> test whether the following patch fixes the hang?
It does, thanks!
Tested-by: Mike Snitzer <snitzer redhat com>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]