Skip to content

Commit f412f2c

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Pull second round of block driver updates from Jens Axboe: "As mentioned in the original pull request, the bcache bits were pulled because of their dependency on the immutable bio vecs. Kent re-did this part and resubmitted it, so here's the 2nd round of (mostly) driver updates for 3.13. It contains: - The bcache work from Kent. - Conversion of virtio-blk to blk-mq. This removes the bio and request path, and substitutes with the blk-mq path instead. The end result almost 200 deleted lines. Patch is acked by Asias and Christoph, who both did a bunch of testing. - A removal of bootmem.h include from Grygorii Strashko, part of a larger series of his killing the dependency on that header file. - Removal of __cpuinit from blk-mq from Paul Gortmaker" * 'for-linus' of git://git.kernel.dk/linux-block: (56 commits) virtio_blk: blk-mq support blk-mq: remove newly added instances of __cpuinit bcache: defensively handle format strings bcache: Bypass torture test bcache: Delete some slower inline asm bcache: Use ida for bcache block dev minor bcache: Fix sysfs splat on shutdown with flash only devs bcache: Better full stripe scanning bcache: Have btree_split() insert into parent directly bcache: Move spinlock into struct time_stats bcache: Kill sequential_merge option bcache: Kill bch_next_recurse_key() bcache: Avoid deadlocking in garbage collection bcache: Incremental gc bcache: Add make_btree_freeing_key() bcache: Add btree_node_write_sync() bcache: PRECEDING_KEY() bcache: bch_(btree|extent)_ptr_invalid() bcache: Don't bother with bucket refcount for btree node allocations bcache: Debug code improvements ...
2 parents cd1177f + 1cf7e9c commit f412f2c

31 files changed

Lines changed: 3069 additions & 3280 deletions

‎block/blk-ioc.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <linux/init.h>
77
#include <linux/bio.h>
88
#include <linux/blkdev.h>
9-
#include <linux/bootmem.h> /* for max_pfn/max_low_pfn */
109
#include <linux/slab.h>
1110

1211
#include "blk.h"

‎block/blk-mq-cpu.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
static LIST_HEAD(blk_mq_cpu_notify_list);
1414
static DEFINE_SPINLOCK(blk_mq_cpu_notify_lock);
1515

16-
static int __cpuinit blk_mq_main_cpu_notify(struct notifier_block *self,
17-
unsigned long action, void *hcpu)
16+
static int blk_mq_main_cpu_notify(struct notifier_block *self,
17+
unsigned long action, void *hcpu)
1818
{
1919
unsigned int cpu = (unsigned long) hcpu;
2020
struct blk_mq_cpu_notifier *notify;
@@ -28,8 +28,8 @@ static int __cpuinit blk_mq_main_cpu_notify(struct notifier_block *self,
2828
return NOTIFY_OK;
2929
}
3030

31-
static void __cpuinit blk_mq_cpu_notify(void *data, unsigned long action,
32-
unsigned int cpu)
31+
static void blk_mq_cpu_notify(void *data, unsigned long action,
32+
unsigned int cpu)
3333
{
3434
if (action == CPU_DEAD || action == CPU_DEAD_FROZEN) {
3535
/*

‎block/blk-mq.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ void blk_mq_free_queue(struct request_queue *q)
14441444
EXPORT_SYMBOL(blk_mq_free_queue);
14451445

14461446
/* Basically redo blk_mq_init_queue with queue frozen */
1447-
static void __cpuinit blk_mq_queue_reinit(struct request_queue *q)
1447+
static void blk_mq_queue_reinit(struct request_queue *q)
14481448
{
14491449
blk_mq_freeze_queue(q);
14501450

@@ -1461,8 +1461,8 @@ static void __cpuinit blk_mq_queue_reinit(struct request_queue *q)
14611461
blk_mq_unfreeze_queue(q);
14621462
}
14631463

1464-
static int __cpuinit blk_mq_queue_reinit_notify(struct notifier_block *nb,
1465-
unsigned long action, void *hcpu)
1464+
static int blk_mq_queue_reinit_notify(struct notifier_block *nb,
1465+
unsigned long action, void *hcpu)
14661466
{
14671467
struct request_queue *q;
14681468

0 commit comments

Comments
 (0)