]> git.baikalelectronics.ru Git - kernel.git/commit
dm thin: defer whole cells rather than individual bios
authorJoe Thornber <ejt@redhat.com>
Fri, 10 Oct 2014 12:43:14 +0000 (13:43 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:28 +0000 (15:25 -0500)
commit76dc9fec9b0adbf0e50b1cc0d6d3b1f00f87d08a
treedf8b87e504ad076d92bb691e3ea966b29957ef4c
parent6db065af8f2c2b43b83a21cb23e82f4932ed6f34
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>
drivers/md/dm-bio-prison.h
drivers/md/dm-thin.c