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)
commit372cf243ea9a36d88ff67ae44f4512f64a6bca81
tree3cd8face4fdf9e6705e703520841d5d57beb89f2
parent819ec6b91d5ba1ca313066a306461774eff6b567
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