diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-03-10 02:52:07 -0500 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-03-10 02:52:07 -0500 |
commit | 7eaceaccab5f40bbfda044629a6298616aeaed50 (patch) | |
tree | 33954d12f63e25a47eb6d86ef3d3d0a5e62bf752 /fs/aio.c | |
parent | 73c101011926c5832e6e141682180c4debe2cf45 (diff) |
block: remove per-queue plugging
Code has been converted over to the new explicit on-stack plugging,
and delay users have been converted to use the new API for that.
So lets kill off the old plugging along with aops->sync_page().
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1550,9 +1550,11 @@ static void aio_batch_free(struct hlist_head *batch_hash) | |||
1550 | struct hlist_node *pos, *n; | 1550 | struct hlist_node *pos, *n; |
1551 | int i; | 1551 | int i; |
1552 | 1552 | ||
1553 | /* | ||
1554 | * TODO: kill this | ||
1555 | */ | ||
1553 | for (i = 0; i < AIO_BATCH_HASH_SIZE; i++) { | 1556 | for (i = 0; i < AIO_BATCH_HASH_SIZE; i++) { |
1554 | hlist_for_each_entry_safe(abe, pos, n, &batch_hash[i], list) { | 1557 | hlist_for_each_entry_safe(abe, pos, n, &batch_hash[i], list) { |
1555 | blk_run_address_space(abe->mapping); | ||
1556 | iput(abe->mapping->host); | 1558 | iput(abe->mapping->host); |
1557 | hlist_del(&abe->list); | 1559 | hlist_del(&abe->list); |
1558 | mempool_free(abe, abe_pool); | 1560 | mempool_free(abe, abe_pool); |