]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea36d44eaf31faab9018ee7012069fe662b92cc1
tree79f118235c1a1b8c7cf672b024d0117e017b6590
parent0bc7af8687086fc73b6774c60423cfc083c62795
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