linux/drivers/md
Kent Overstreet 458b76ed2f block: Kill bio_segments()/bi_vcnt usage
When we start sharing biovecs, keeping bi_vcnt accurate for splits is
going to be error prone - and unnecessary, if we refactor some code.

So bio_segments() has to go - but most of the existing users just needed
to know if the bio had multiple segments, which is easier - add a
bio_multiple_segments() for them.

(Two of the current uses of bio_segments() are going to go away in a
couple patches, but the current implementation of bio_segments() is
unsafe as soon as we start doing driver conversions for immutable
biovecs - so implement a dumb version for bisectability, it'll go away
in a couple patches)

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Neil Brown <neilb@suse.de>
Cc: Nagalakshmi Nandigama <Nagalakshmi.Nandigama@lsi.com>
Cc: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
2013-11-23 22:33:51 -08:00
..
bcache block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00
persistent-data dm space map disk: optimise sm_disk_dec_block 2013-11-09 18:20:24 -05:00
bitmap.c sysfs: clean up sysfs_get_dirent() 2013-09-26 15:33:18 -07:00
bitmap.h
dm-bio-prison.c
dm-bio-prison.h
dm-bio-record.h dm: Use bvec_iter for dm_bio_record() 2013-11-23 22:33:48 -08:00
dm-bufio.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-bufio.h
dm-cache-block-types.h
dm-cache-metadata.c dm cache metadata: check the metadata version when reading the superblock 2013-11-11 11:37:49 -05:00
dm-cache-metadata.h dm cache: add passthrough mode 2013-11-11 11:37:49 -05:00
dm-cache-policy-cleaner.c
dm-cache-policy-internal.h dm cache: add remove_cblock method to policy interface 2013-11-11 11:37:50 -05:00
dm-cache-policy-mq.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-cache-policy.c dm cache: return -EINVAL if the user specifies unknown cache policy 2013-11-09 18:20:18 -05:00
dm-cache-policy.h dm cache: add remove_cblock method to policy interface 2013-11-11 11:37:50 -05:00
dm-cache-target.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-crypt.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-delay.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-exception-store.c
dm-exception-store.h
dm-flakey.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-io.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-ioctl.c dm: allow remove to be deferred 2013-11-09 18:20:22 -05:00
dm-kcopyd.c dm: stop using WQ_NON_REENTRANT 2013-08-23 09:02:13 -04:00
dm-linear.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log.c
dm-mpath.c dm mpath: requeue I/O during pg_init 2013-11-05 11:20:34 -05:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-queue-length.c
dm-raid1.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-raid.c
dm-region-hash.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-round-robin.c
dm-service-time.c
dm-snap-persistent.c dm snapshot: fix data corruption 2013-10-16 03:17:47 +01:00
dm-snap-transient.c
dm-snap.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-stats.c dm stats: fix possible counter corruption on 32-bit systems 2013-09-18 14:41:06 -04:00
dm-stats.h dm: add statistics support 2013-09-05 20:46:06 -04:00
dm-stripe.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-switch.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-sysfs.c
dm-table.c dm table: print error on preresume failure 2013-11-09 18:20:21 -05:00
dm-target.c dm: allow error target to replace bio-based and request-based targets 2013-09-05 20:46:05 -04:00
dm-thin-metadata.c
dm-thin-metadata.h
dm-thin.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm-uevent.c
dm-uevent.h
dm-verity.c block: Convert bio_iovec() to bvec_iter 2013-11-23 22:33:49 -08:00
dm-zero.c
dm.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
dm.h dm: allow remove to be deferred 2013-11-09 18:20:22 -05:00
faulty.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
Kconfig dm: fix Kconfig menu indentation 2013-11-09 18:20:22 -05:00
linear.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
linear.h
Makefile dm: add statistics support 2013-09-05 20:46:06 -04:00
md.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
md.h Merge branch 'for-3.13/core' of git://git.kernel.dk/linux-block 2013-11-14 12:08:14 +09:00
multipath.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
multipath.h
raid0.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00
raid0.h
raid1.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
raid1.h raid1: Rewrite the implementation of iobarrier. 2013-11-19 15:19:18 +11:00
raid5.c block: Convert bio_for_each_segment() to bvec_iter 2013-11-23 22:33:49 -08:00
raid5.h md update for 3.13. 2013-11-20 13:05:25 -08:00
raid10.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00
raid10.h