mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
e23947bd76
Currently all integrity prep hooks are open-coded, and if prepare fails we ignore it's code and fail bio with EIO. Let's return real error to upper layer, so later caller may react accordingly. In fact no one want to use bio_integrity_prep() w/o bio_integrity_enabled, so it is reasonable to fold it in to one function. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> [hch: merged with the latest block tree, return bool from bio_integrity_prep] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> |
||
---|---|---|
.. | ||
00-INDEX | ||
bfq-iosched.txt | ||
biodoc.txt | ||
biovecs.txt | ||
capability.txt | ||
cfq-iosched.txt | ||
cmdline-partition.txt | ||
data-integrity.txt | ||
deadline-iosched.txt | ||
ioprio.txt | ||
kyber-iosched.txt | ||
null_blk.txt | ||
pr.txt | ||
queue-sysfs.txt | ||
request.txt | ||
stat.txt | ||
switching-sched.txt | ||
writeback_cache_control.txt |