diff options
author | Joe Thornber <ejt@redhat.com> | 2014-09-12 11:34:01 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-11-10 15:25:27 -0500 |
commit | 7a7e97ca580b944d2c89b59bc74a7b9ddd044705 (patch) | |
tree | 93ce0a65769205e6330ccf0691777eeaf51011fa /drivers/md/dm-bio-prison.c | |
parent | 36f12aeb714fc04752997d6c07b6afb2fa0ac947 (diff) | |
download | blackbird-op-linux-7a7e97ca580b944d2c89b59bc74a7b9ddd044705.tar.gz blackbird-op-linux-7a7e97ca580b944d2c89b59bc74a7b9ddd044705.zip |
dm thin: performance improvement to discard processing
When processing a discard bio, if the block is already quiesced do the
discard immediately rather than adding the mapping to a list for the
next iteration of the worker thread.
Discarding a fully provisioned 100G thin volume with 64k block size goes
from 860s to 95s with this change.
Clearly there's something wrong with the worker architecture, more
investigation needed.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-bio-prison.c')
0 files changed, 0 insertions, 0 deletions