Re: [PATCH 1/6 v2] blk: clean up plug

Jens Axboe
2015-05-08T20:18:48Z

On 05/08/2015 11:51 AM, Shaohua Li wrote:
> Current code looks like inner plug gets flushed with a
> blk_finish_plug(). Actually it's a nop. All requests/callbacks are added
> to current->plug, while only outmost plug is assigned to current->plug.
> So inner plug always has empty request/callback list, which makes
> blk_flush_plug_list() a nop. This tries to make the code more clear.

Applied 1-6, thanks Shaohua!

--
Jens Axboe