netfs: Miscellaneous fixes
Status from this message: Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | netfs: clear PG_private_2 on copy-to-cache append failurefs/ | +1 | 1 reply | |
| 2/4 | netfs: handle single writeback rolling buffer allocation failurefs/ | +6 | 0 replies | |
| 3/4 | netfs: release readahead folios on iterator preparation failurefs/ | +3 | 0 replies | |
| 4/4 | netfs: Fix folio_queue ENOMEM in writeback by adding a mempoolfs/ fs/ fs/ +6 more | +52 | 1 reply |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | [email protected] |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] netfs: Miscellaneous fixes
Hi Christian,
Here are some miscellaneous fixes for netfslib.
(1) Clear PG_private_2 on copy-to-cache append failure.
(2) Fix handling of rolling buffer allocation failure in single-object writeback. This is probably unnecessary with (4), but if we're only writing to the cache, we can skip the write.
(3) Fix cleanup of readeahead folios if iterator preparation fails.
(4) Fix folio_queue allocation failure in writeback by adding a mempool. This also improves request and subrequest allocation.
The patches can also be found here:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes
Thanks,
David
David Howells (1):
netfs: Fix folio_queue ENOMEM in writeback by adding a mempool
Yichong Chen (3):
netfs: clear PG_private_2 on copy-to-cache append failure
netfs: handle single writeback rolling buffer allocation failure
netfs: release readahead folios on iterator preparation failure
fs/netfs/buffered_read.c | 10 ++++++---- fs/netfs/internal.h | 1 + fs/netfs/main.c | 7 +++++++ fs/netfs/objects.c | 31 +++++++++++++++++++------------ fs/netfs/read_pgpriv2.c | 3 ++- fs/netfs/rolling_buffer.c | 21 ++++++++++++--------- fs/netfs/write_issue.c | 15 ++++++++++----- include/linux/netfs.h | 1 + include/linux/rolling_buffer.h | 6 +++--- 9 files changed, 61 insertions(+), 34 deletions(-)