diff options
| author | Michael Lass <[email protected]> | 2019-05-21 19:58:07 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2019-05-21 23:15:20 +0000 |
| commit | 51b86f9a8d1c4bb4e3862ee4b4c5f46072f7520d (patch) | |
| tree | 3a37a21670c6d37acacda2de65022d4671dd35d6 /drivers/acpi/cppc_acpi.c | |
| parent | dm: fix a couple brace coding style issues (diff) | |
| download | kernel-51b86f9a8d1c4bb4e3862ee4b4c5f46072f7520d.tar.gz kernel-51b86f9a8d1c4bb4e3862ee4b4c5f46072f7520d.zip | |
dm: make sure to obey max_io_len_target_boundary
Commit 61697a6abd24 ("dm: eliminate 'split_discard_bios' flag from DM
target interface") incorrectly removed code from
__send_changing_extent_only() that is required to impose a per-target IO
boundary on IO that exceeds max_io_len_target_boundary(). Otherwise
"special" IO (e.g. DISCARD, WRITE SAME, WRITE ZEROES) can write beyond
where allowed.
Fix this by restoring the max_io_len_target_boundary() limit in
__send_changing_extent_only()
Fixes: 61697a6abd24 ("dm: eliminate 'split_discard_bios' flag from DM target interface")
Cc: [email protected] # 5.1+
Signed-off-by: Michael Lass <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
