diff options
author | Shaohua Li <shli@fb.com> | 2017-03-24 15:20:47 -0700 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-03-25 09:38:06 -0700 |
commit | 41743c1f046a14c6749fd1808bb3793c08e47a3e (patch) | |
tree | 2e4c01da3f7cda8e5903dcc9e786e0bbc284261f /drivers/idle | |
parent | f45958756fef552436e4a63029a168495920026e (diff) |
md/raid1: skip data copy for behind io for discard request
discard request doesn't have data attached, so it's meaningless to
allocate memory and copy from original bio for behind IO. And the copy
is bogus because bio_copy_data_partial can't handle discard request.
We don't support writesame/writezeros request so far.
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions