Skip to content
Commit 048c9374 authored by NeilBrown's avatar NeilBrown Committed by Jens Axboe
Browse files

block: Enhance new plugging support to support general callbacks



md/raid requires an unplug callback, but as it does not uses
requests the current code cannot provide one.

So allow arbitrary callbacks to be attached to the blk_plug.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent a1b49cb7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment