mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
Revert "block: add callback function for unplug notification"
MD can't use this since it really requires us to be able to keep more than a single piece of state for the unplug. Commit048c9374added the required support for MD, so get rid of this now unused code. This reverts commitf75664570d. Conflicts: block/blk-core.c Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:
@@ -2674,9 +2674,6 @@ static void queue_unplugged(struct request_queue *q, unsigned int depth,
|
||||
{
|
||||
trace_block_unplug(q, depth, !from_schedule);
|
||||
__blk_run_queue(q, from_schedule);
|
||||
|
||||
if (q->unplugged_fn)
|
||||
q->unplugged_fn(q);
|
||||
}
|
||||
|
||||
static void flush_plug_callbacks(struct blk_plug *plug)
|
||||
|
||||
Reference in New Issue
Block a user