diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2012-07-27 15:08:03 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 15:08:03 +0100 |
commit | 4929630901100fdbfa19186ecf5ea2706f57719b (patch) | |
tree | d12aaec9ccae4fb91eb55271fc8f987db0bbce96 /crypto/rng.c | |
parent | 7acf0277cea0f2da89ffffcc9892bea23f618e63 (diff) | |
download | blackbird-op-linux-4929630901100fdbfa19186ecf5ea2706f57719b.tar.gz blackbird-op-linux-4929630901100fdbfa19186ecf5ea2706f57719b.zip |
dm thin: split discards on block boundary
This patch sets the variable "ti->split_discard_requests" for the dm thin
target so that device mapper core splits discard requests on a block
boundary.
Consequently, a discard request that spans multiple blocks is never sent
to dm-thin. The patch also removes some code in process_discard that
deals with discards that span multiple blocks.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions