Commit a374bb21 authored by Joe Thornber's avatar Joe Thornber Committed by Mike Snitzer

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: default avatarJoe Thornber <ejt@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 452d7a62
...@@ -35,6 +35,7 @@ struct dm_cell_key { ...@@ -35,6 +35,7 @@ struct dm_cell_key {
* themselves. * themselves.
*/ */
struct dm_bio_prison_cell { struct dm_bio_prison_cell {
struct list_head user_list; /* for client use */
struct rb_node node; struct rb_node node;
struct dm_cell_key key; struct dm_cell_key key;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment