Skip to content

xfs: convert more code to use workqueues

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs: introduce an allocation workqueuefs/xfs/linux-2.6/xfs_super.c fs/xfs/xfs_alloc.c fs/xfs/xfs_alloc.h+51 -14 replies
2/3xfs: convert xfsbufd to use a workqueuefs/xfs/linux-2.6/xfs_buf.c fs/xfs/linux-2.6/xfs_buf.h fs/xfs/quota/xfs_dquot.c +1 more+244 -2862 replies
3/3xfs: flush the CIL via a workqueuefs/xfs/linux-2.6/xfs_super.c fs/xfs/xfs_log_cil.c fs/xfs/xfs_log_priv.h+166 -1055 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] xfs: convert more code to use workqueues

The three patces convert code to use workqueues for different reasons.

The first patch splits the allocation path into a new stack as writeback from the bdi-flusher threads is in danger of overrunning the stack in worst case XFS stack usage on complex storage subsystems. I've been running this patch locally for the past couple of months and I haven't encountered any issues, performance or otherwise with it.

The second patch converts the xfsbufd to a workqueue, continuing the process of replacing per-fs threads with workqueues (as per xfsaild and xfssyncd). This removes the last per-fs thread and cleans up the code around it.

The last patch convert the CIL flush to use a workqueue to move all the processing out of the direct transaction commit processing. This prevents random operation from a user application taking the hit (CPU and latency) for committing the last 10,000 modifications to the journal.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs