iomap: enhance writeback error message
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 17 Oct 2019 21:02:07 +0000 (14:02 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 15:51:59 +0000 (08:51 -0700)
commit9cd0ed63ca51411af2c8323cbbeaa33d16c62688
tree79f118235c1a1b8c7cf672b024d0117e017b6590
parent48d64cd18b33791d4efb2b9dd10104f84dde7d3c
iomap: enhance writeback error message

If we encounter an IO error during writeback, log the inode, offset, and
sector number of the failure, instead of forcing the user to do some
sort of reverse mapping to figure out which file is affected.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/iomap/buffered-io.c