]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm thin: add mappings to end of prepared_* lists
authorMike Snitzer <snitzer@redhat.com>
Wed, 11 Dec 2013 19:01:20 +0000 (14:01 -0500)
committerMike Snitzer <snitzer@redhat.com>
Fri, 20 Dec 2013 19:43:39 +0000 (14:43 -0500)
commit92e933091b90f24faebf7f923498df2a2932acca
tree6026e75a263804eefa102904dc20bfac185d0739
parented4ba605634cfc269b03496ca2d54283d064220b
dm thin: add mappings to end of prepared_* lists

Mappings could be processed in descending logical block order,
particularly if buffered IO is used.  This could adversely affect the
latency of IO processing.  Fix this by adding mappings to the end of the
'prepared_mappings' and 'prepared_discards' lists.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
drivers/md/dm-thin.c