diff options
| author | Carlos Maiolino <cem@kernel.org> | 2026-09-24 17:16:30 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-05 12:07:49 +0200 |
| commit | 90c4dd2fa8fc3485551023e855c093bd9b675256 (patch) | |
| tree | 30e39ab1fd88ffaf4be4da9afbac4826282d985d /tools/perf/scripts/python | |
| parent | f4922f6fb12b18ff1efe7cf5a46c187a07b7f9ea (diff) | |
xfs: make xfs_iomap_write_direct() report an error to xfs_trans_cancel
I've been in the situation a few times where the transaction got
cancelled by some reason. Most of time because bmapi_write failed and I
start a guessing game trying to understand why.
So if xfs_iomap_write_direct fails and it causes the transaction to be
cancelled, send the error to xfs_trans_cancel so the error gets logged
into the kernel log buffer.
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
