]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: make xfs_buf_delwri_submit actually do something
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Sep 2019 17:46:27 +0000 (13:46 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 26 Sep 2019 17:46:27 +0000 (13:46 -0400)
commit7db2e3c108a06dd84a0cf85f7cb41f10eabe1465
tree884deb772557872ef4d2be087746652949b4055b
parent3d943e22b8fdd8045e2e89ed1fc14b7ab76b3054
libxfs: make xfs_buf_delwri_submit actually do something

xfs_buf_delwri_queue doesn't report errors, which means that if the
buffer write fails we have no way of knowing that something bad
happened.  In the kernel we queue and then submit buffers, and the
submit call communicates errors to callers.  Do the same here since
we're going to start using the AG header initialization functions, which
use delwri_{queue,submit} heavily.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_io.h
libxfs/libxfs_priv.h
libxfs/rdwr.c