]> git.baikalelectronics.ru Git - kernel.git/commit
block: convert to errseq_t based writeback error tracking
authorJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:28 +0000 (07:02 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:28 +0000 (07:02 -0400)
commitfd6551685837904f7097b19d73e7df345e596b24
tree3cd8face4fdf9e6705e703520841d5d57beb89f2
parent85e72b76f0906cbb7d1a36e27ac3c4444587cdd7
block: convert to errseq_t based writeback error tracking

This is a very minimal conversion to errseq_t based error tracking
for raw block device access. Just have it use the standard
file_write_and_wait_range call.

Note that there are internal callers that call sync_blockdev
and the like that are not affected by this. They'll continue
to use the AS_EIO/AS_ENOSPC flags for error reporting like
they always have for now.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/block_dev.c