diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-17 12:52:15 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-17 12:52:15 -0400 |
| commit | b0e5c29426940bd6f137b6a3222fe87766323ae5 (patch) | |
| tree | f005473e83be269f7a69a43af5c304a3fe4c3e0c /include/linux | |
| parent | 2645b9d1a49c2c2cf23895657bdf9a56e07a4da8 (diff) | |
| parent | 1e1132ea21da6d7be92a72195204379c819cb70b (diff) | |
Merge tag 'for-4.19/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull device mapper updates from Mike Snitzer:
- A couple stable fixes for the DM writecache target.
- A stable fix for the DM cache target that fixes the potential for
data corruption after an unclean shutdown of a cache device using
writeback mode.
- Update DM integrity target to allow the metadata to be stored on a
separate device from data.
- Fix DM kcopyd and the snapshot target to cond_resched() where
appropriate and be more efficient with processing completed work.
- A few fixes and improvements for DM crypt.
- Add DM delay target feature to configure delay of flushes independent
of writes.
- Update DM thin-provisioning target to include metadata_low_watermark
threshold in pool status.
- Fix stale DM thin-provisioning Documentation.
* tag 'for-4.19/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (26 commits)
dm writecache: fix a crash due to reading past end of dirty_bitmap
dm crypt: don't decrease device limits
dm cache metadata: set dirty on all cache blocks after a crash
dm snapshot: remove stale FIXME in snapshot_map()
dm snapshot: improve performance by switching out_of_order_list to rbtree
dm kcopyd: avoid softlockup in run_complete_job
dm cache metadata: save in-core policy_hint_size to on-disk superblock
dm thin: stop no_space_timeout worker when switching to write-mode
dm kcopyd: return void from dm_kcopyd_copy()
dm thin: include metadata_low_watermark threshold in pool status
dm writecache: report start_sector in status line
dm crypt: convert essiv from ahash to shash
dm crypt: use wake_up_process() instead of a wait queue
dm integrity: recalculate checksums on creation
dm integrity: flush journal on suspend when using separate metadata device
dm integrity: use version 2 for separate metadata
dm integrity: allow separate metadata device
dm integrity: add ic->start in get_data_sector()
dm integrity: report provided data sectors in the status
dm integrity: implement fair range locks
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dm-kcopyd.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/dm-kcopyd.h b/include/linux/dm-kcopyd.h index cfac8588ed56..e42de7750c88 100644 --- a/include/linux/dm-kcopyd.h +++ b/include/linux/dm-kcopyd.h | |||
| @@ -62,9 +62,9 @@ void dm_kcopyd_client_destroy(struct dm_kcopyd_client *kc); | |||
| 62 | typedef void (*dm_kcopyd_notify_fn)(int read_err, unsigned long write_err, | 62 | typedef void (*dm_kcopyd_notify_fn)(int read_err, unsigned long write_err, |
| 63 | void *context); | 63 | void *context); |
| 64 | 64 | ||
| 65 | int dm_kcopyd_copy(struct dm_kcopyd_client *kc, struct dm_io_region *from, | 65 | void dm_kcopyd_copy(struct dm_kcopyd_client *kc, struct dm_io_region *from, |
| 66 | unsigned num_dests, struct dm_io_region *dests, | 66 | unsigned num_dests, struct dm_io_region *dests, |
| 67 | unsigned flags, dm_kcopyd_notify_fn fn, void *context); | 67 | unsigned flags, dm_kcopyd_notify_fn fn, void *context); |
| 68 | 68 | ||
| 69 | /* | 69 | /* |
| 70 | * Prepare a callback and submit it via the kcopyd thread. | 70 | * Prepare a callback and submit it via the kcopyd thread. |
| @@ -81,9 +81,9 @@ void *dm_kcopyd_prepare_callback(struct dm_kcopyd_client *kc, | |||
| 81 | dm_kcopyd_notify_fn fn, void *context); | 81 | dm_kcopyd_notify_fn fn, void *context); |
| 82 | void dm_kcopyd_do_callback(void *job, int read_err, unsigned long write_err); | 82 | void dm_kcopyd_do_callback(void *job, int read_err, unsigned long write_err); |
| 83 | 83 | ||
| 84 | int dm_kcopyd_zero(struct dm_kcopyd_client *kc, | 84 | void dm_kcopyd_zero(struct dm_kcopyd_client *kc, |
| 85 | unsigned num_dests, struct dm_io_region *dests, | 85 | unsigned num_dests, struct dm_io_region *dests, |
| 86 | unsigned flags, dm_kcopyd_notify_fn fn, void *context); | 86 | unsigned flags, dm_kcopyd_notify_fn fn, void *context); |
| 87 | 87 | ||
| 88 | #endif /* __KERNEL__ */ | 88 | #endif /* __KERNEL__ */ |
| 89 | #endif /* _LINUX_DM_KCOPYD_H */ | 89 | #endif /* _LINUX_DM_KCOPYD_H */ |
