History

Merge tag 'dm-3.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

Pull device-mapper fixes from Mike Snitzer: "A few fixes for dm-snapshot, a 32 bit fix for dm-stats, a couple error handling fixes for dm-multipath. A fix for the thin provisioning target to not expose non-zero discard limits if discards are disabled. Lastly, add two DM module parameters which allow users to tune the emergency memory reserves that DM mainatins per device -- this helps fix a long-standing issue for dm-multipath. The conservative default reserve for request-based dm-multipath devices (256) has proven problematic for users with many multipathed SCSI devices but relatively little memory. To responsibly select a smaller value users should use the new nr_bios tracepoint info (via commit 75afb352 "block: Add nr_bios to block_rq_remap tracepoint") to determine the peak number of bios their workloads create" * tag 'dm-3.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: dm: add reserved_bio_based_ios module parameter dm: add reserved_rq_based_ios module parameter dm: lower bio-based mempool reservation dm thin: do not expose non-zero discard limits if discards disabled dm mpath: disable WRITE SAME if it fails dm-snapshot: fix performance degradation due to small hash size dm snapshot: workaround for a false positive lockdep warning dm stats: fix possible counter corruption on 32-bit systems dm mpath: do not fail path on -ENOSPC

Linus Torvalds committed 13 years ago

Commit e93dd912 parents b482041 e8603139 files · +120 −26Browse files

Showing the changes to include/linux (1 of 9 files). Show all

Unified · Split

include/linux/device-mapper.h+2−1
@@ -406,13 +406,14 @@ int dm_noflush_suspending(struct dm_target *ti); · 405 unmodified lines
406406 union map_info *dm_get_mapinfo(struct bio *bio);
407407 union map_info *dm_get_rq_mapinfo(struct request *rq);
408408
409+struct queue_limits *dm_get_queue_limits(struct mapped_device *md);
410+
409411 /*
410412 * Geometry functions.
411413 */
412414 int dm_get_geometry(struct mapped_device *md, struct hd_geometry *geo);
413415 int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo);
414416
415−
416417 /*-----------------------------------------------------------------
417418 * Functions for manipulating device-mapper tables.
418419 *---------------------------------------------------------------*/