summaryrefslogtreecommitdiff
path: root/drivers/md/dm-bio-prison.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-10-10 12:43:14 (GMT)
committerMike Snitzer <snitzer@redhat.com>2014-11-10 20:25:28 (GMT)
commita374bb217b449a00eb96d0584bb833a8b62b672a (patch)
treedf8b87e504ad076d92bb691e3ea966b29957ef4c /drivers/md/dm-bio-prison.h
parent452d7a620dc38cb525c403aa4b445028da359268 (diff)
downloadlinux-a374bb217b449a00eb96d0584bb833a8b62b672a.tar.xz
dm thin: defer whole cells rather than individual bios
This avoids dropping the cell, so increases the probability that other bios will collect within the cell, rather than being passed individually to the worker. Also add required process_cell and process_discard_cell error handling wrappers and set associated pool-mode function pointers accordingly. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-bio-prison.h')
-rw-r--r--drivers/md/dm-bio-prison.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-bio-prison.h b/drivers/md/dm-bio-prison.h
index 997a439..c0cddb1 100644
--- a/drivers/md/dm-bio-prison.h
+++ b/drivers/md/dm-bio-prison.h
@@ -35,6 +35,7 @@ struct dm_cell_key {
* themselves.
*/
struct dm_bio_prison_cell {
+ struct list_head user_list; /* for client use */
struct rb_node node;
struct dm_cell_key key;