Liu Bo
39b4954c0a
badblocks: fix wrong return value in badblocks_set if badblocks are disabled
...
MD's rdev_set_badblocks() expects that badblocks_set() returns 1 if
badblocks are disabled, otherwise, rdev_set_badblocks() will record
superblock changes and return success in that case and md will fail to
report an IO error which it should.
This bug has existed since badblocks were introduced in commit
9e0e252a04 ("badblocks: Add core badblock management code").
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Acked-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2017-11-03 11:29:50 -07:00
..
partitions
badblocks.c
badblocks: fix wrong return value in badblocks_set if badblocks are disabled
2017-11-03 11:29:50 -07:00
bfq-cgroup.c
bfq: Declare local functions static
2017-09-01 13:56:37 -06:00
bfq-iosched.c
Merge branch 'for-4.14/block-postmerge' of git://git.kernel.dk/linux-block
2017-09-09 12:49:01 -07:00
bfq-iosched.h
Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
2017-09-07 11:59:42 -07:00
bfq-wf2q.c
block, bfq: guarantee update_next_in_service always returns an eligible entity
2017-08-31 08:20:31 -06:00
bio-integrity.c
Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
2017-09-07 11:59:42 -07:00
bio.c
Merge tag 'md/4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
2017-09-07 12:41:48 -07:00
blk-cgroup.c
blkcg: avoid free blkcg_root when failed to alloc blkcg policy
2017-08-25 13:51:07 -06:00
blk-core.c
blktrace: Fix potential deadlock between delete & sysfs ops
2017-09-25 08:56:05 -06:00
blk-exec.c
blk-flush.c
block: update comments to reflect REQ_FLUSH -> REQ_PREFLUSH rename
2017-08-25 10:36:54 -06:00
blk-integrity.c
blk-ioc.c
blk-lib.c
block: fix integer overflow in __blkdev_sectors_to_bio_pages()
2017-09-11 09:46:49 -06:00
blk-map.c
blk-merge.c
block: replace bi_bdev with a gendisk pointer and partitions index
2017-08-23 12:49:55 -06:00
blk-mq-cpumap.c
blk-mq: map queues to all present CPUs
2017-07-24 10:01:31 -06:00
blk-mq-debugfs.c
Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
2017-09-07 11:59:42 -07:00
blk-mq-debugfs.h
blk-mq-pci.c
blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL
2017-08-18 08:08:14 -06:00
blk-mq-rdma.c
block: Add rdma affinity based queue mapping helper
2017-08-08 14:58:03 -04:00
blk-mq-sched.c
blk-mq-sched.h
blk-mq-sysfs.c
blk-mq-tag.c
blk-mq: Make blk_mq_reinit_tagset() calls easier to read
2017-08-18 08:36:58 -06:00
blk-mq-tag.h
blk-mq-virtio.c
blk-mq.c
block: directly insert blk-mq request from blk_insert_cloned_request()
2017-09-11 16:43:57 -06:00
blk-mq.h
block: directly insert blk-mq request from blk_insert_cloned_request()
2017-09-11 16:43:57 -06:00
blk-settings.c
block: Warn if blk_queue_rq_timed_out() is called for a blk-mq queue
2017-08-23 12:02:30 -06:00
blk-softirq.c
smp: Avoid using two cache lines for struct call_single_data
2017-08-29 15:14:38 +02:00
blk-stat.c
blk-stat.h
blk-sysfs.c
block: fix warning when I/O elevator is changed as request_queue is being removed
2017-08-28 10:52:44 -06:00
blk-tag.c
block: Unexport blk_queue_end_tag()
2017-08-18 08:36:58 -06:00
blk-throttle.c
Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
2017-09-07 11:59:42 -07:00
blk-timeout.c
blk-wbt.c
blk-wbt.h
blk-zoned.c
block: replace bi_bdev with a gendisk pointer and partitions index
2017-08-23 12:49:55 -06:00
blk.h
block: Make blk_dequeue_request() static
2017-08-29 09:49:31 -06:00
bounce.c
bsg-lib.c
bsg-lib: don't free job in bsg_prepare_job
2017-09-25 08:56:05 -06:00
bsg.c
bsg: remove #if 0'ed code
2017-08-29 10:50:30 -06:00
cfq-iosched.c
block/cfq: cache rightmost rb_node
2017-09-08 18:26:49 -07:00
cmdline-parser.c
compat_ioctl.c
compat_hdio_ioctl: Fix a declaration
2017-08-31 17:32:41 -04:00
deadline-iosched.c
block, scheduler: convert xxx_var_store to void
2017-08-28 10:01:08 -06:00
elevator.c
block: fix warning when I/O elevator is changed as request_queue is being removed
2017-08-28 10:52:44 -06:00
genhd.c
Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
2017-09-07 11:59:42 -07:00
ioctl.c
ioprio.c
Kconfig
block: Add rdma affinity based queue mapping helper
2017-08-08 14:58:03 -04:00
Kconfig.iosched
kyber-iosched.c
Makefile
block: Add rdma affinity based queue mapping helper
2017-08-08 14:58:03 -04:00
mq-deadline.c
mq-deadline: Enable auto-loading when built as module
2017-08-29 10:47:23 -06:00
noop-iosched.c
opal_proto.h
block: sed-opal: Set MBRDone on S3 resume path if TPER is MBREnabled
2017-09-11 09:45:52 -06:00
partition-generic.c
block: fix a crash caused by wrong API
2017-09-25 08:56:05 -06:00
scsi_ioctl.c
sed-opal.c
block: sed-opal: Set MBRDone on S3 resume path if TPER is MBREnabled
2017-09-11 09:45:52 -06:00
t10-pi.c