diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2015-05-12 19:48:53 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-06-26 17:23:38 +0200 |
commit | f68eb1e71a92765ffd8eb68466a41b48f2fbba04 (patch) | |
tree | 536fa54745479c3a4b3987b3180b60c9bbc50521 /kernel/bpf | |
parent | libnvdimm: Non-Volatile Devices (diff) | |
download | linux-f68eb1e71a92765ffd8eb68466a41b48f2fbba04.tar.xz linux-f68eb1e71a92765ffd8eb68466a41b48f2fbba04.zip |
fs/block_dev.c: skip rw_page if bdev has integrity
If a block device has bio integrity enabled, rw_page will bypass the
integrity payload, which is undesirable. Skip rw_page if this is the
case.
Currently brd and zram provide rw_page, and the proposed 'nd' drivers
will too.
Cc: Jens Axboe <axboe@fb.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Suggested-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions