diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-10 17:29:39 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-14 19:00:16 -0400 |
commit | 7554a8bb6ddeeca87fa8abd1d9766111477a6643 (patch) | |
tree | 289b73e37804d7d5ba45b338d774ae18f6d7558d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 95924420b038a0d025c4d16c75be2a858e7c09df (diff) |
bcachefs: Ensure buffered writes write as much as they can
This adds a new helper, bch2_folio_reservation_get_partial(), which
reserves as many blocks as possible and may return partial success.
__bch2_buffered_write() is switched to the new helper - this fixes
fstests generic/275, the write until -ENOSPC test.
generic/230 now fails: this appears to be a test bug, where xfs_io isn't
looping after a partial write to get the error code.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions