mbox series

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

Message ID 20240328125203.20892-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, 12:51 p.m. UTC
The revision log is written in each patch, below 'Signed-off-by'.

## v6

only patch [4/4] contains code change. For details, see
patch [4/4] revision log.

patch 1-3 are unchanged, only add 'Reviewed-by: Joseph Qi <...>'

## 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/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 ++-
 10 files changed, 133 insertions(+), 39 deletions(-)