mbox series

[0/4] xfs: ioend batching log reservation deadlock

Message ID 20210405145903.629152-1-bfoster@redhat.com (mailing list archive)
Headers show
Series xfs: ioend batching log reservation deadlock | expand

Message

Brian Foster April 5, 2021, 2:58 p.m. UTC
Hi all,

This series addresses the ioend completion batching log res deadlock
vector by removing the preallocated transaction from append ioends.
Instead, we continue to process append ioend completions via the
workqueue, but let the wq task allocate the transaction similar to other
ioend types.

Patch 1 makes the functional change and the remaining patches are
followon cleanups. Technically this could all be squashed down to a
single patch, if desired. Thoughts, reviews, flames appreciated.

Brian

RFD: https://lore.kernel.org/linux-xfs/YF4AOto30pC%2F0FYW@bfoster/

Brian Foster (4):
  xfs: drop submit side trans alloc for append ioends
  xfs: open code ioend needs workqueue helper
  xfs: drop unused ioend private merge and setfilesize code
  xfs: drop unnecessary setfilesize helper

 fs/xfs/xfs_aops.c | 129 ++++++----------------------------------------
 1 file changed, 15 insertions(+), 114 deletions(-)