mbox series

[v5,0/4] improve write IO performance when fragmentation is high

Message ID 20240328082943.20251-1-heming.zhao@suse.com (mailing list archive)
Headers show
Series improve write IO performance when fragmentation is high | expand

Message

heming.zhao@suse.com March 28, 2024, 8:29 a.m. UTC
The revision log is written in each patch, below 'Signed-off-by'.

## v5

following Joseph's suggestion to use a new patch [4/4] for fixing
sparse warnings.

After this patch, there are 3 warnings left:

  ```
  1.
  fs/ocfs2/suballoc.c:2490:17: warning: context imbalance in  \
  'ocfs2_block_group_clear_bits' - different lock contexts for basic block
  
  2.
  fs/ocfs2/dlm/dlmthread.c:241:17: warning: context imbalance in \
  'dlm_purge_lockres' - unexpected unlock
  fs/ocfs2/dlm/dlmthread.c:286:9: warning: context imbalance in \
  'dlm_run_purge_list' - different lock contexts for basic block
  
  3.
  fs/ocfs2/dlm/dlmmaster.c: note: in included file:
  fs/ocfs2/dlm/dlmcommon.h:1119:9: warning: context imbalance in \
  'dlm_reset_mleres_owner' - unexpected unlock
  fs/ocfs2/dlm/dlmmaster.c:3337:9: warning: context imbalance in \
  'dlm_clean_master_list' - different lock contexts for basic block
  ```

## v4

split 3 patch files for easy reviewing:
- (1/3, existing) improve write IO performance when fragmentation is high
- (2/3, new) adjust enabling place for la-window
- (3/3, new) speed up chain-list searching

## v1 v2 v3

see patch 1 revision log.

--------------------------
Heming Zhao (4):
  ocfs2: improve write IO performance when fragmentation is high
  ocfs2: adjust enabling place for la window
  ocfs2: speed up chain-list searching
  ocfs2: fix sparse warnings

 fs/ocfs2/dlm/dlmdomain.c   |  11 ++--
 fs/ocfs2/dlm/dlmrecovery.c |   4 ++
 fs/ocfs2/export.c          |  12 ++--
 fs/ocfs2/inode.c           |   2 +
 fs/ocfs2/localalloc.c      |  15 ++---
 fs/ocfs2/move_extents.c    |   2 +-
 fs/ocfs2/ocfs2_fs.h        |   3 +-
 fs/ocfs2/refcounttree.c    |   2 +-
 fs/ocfs2/resize.c          |   8 +++
 fs/ocfs2/suballoc.c        | 111 +++++++++++++++++++++++++++++++------
 fs/ocfs2/suballoc.h        |   6 +-
 11 files changed, 137 insertions(+), 39 deletions(-)