Whamcloud - gitweb
LU-14729 osd-ldiskfs: declare should consider concurrency 16/44316/13
authorWang Shilong <wshilong@ddn.com>
Thu, 15 Jul 2021 08:15:37 +0000 (16:15 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 17 Sep 2021 14:06:36 +0000 (14:06 +0000)
commit934758366dbde211743d53b8c048c57819603cb3
treecd79c13594a05bca56c10b45dc1e884084f8fdd6
parente688f29275deeadc0ef4faa01f166986bade301f
LU-14729 osd-ldiskfs: declare should consider concurrency

Write in Lustre OSD is different than Ext4 since write
is serialized in local filesystem, however in OSD side,

many concurrent threads may grow tree before transaction starts.

Also fix to use @dirty_groups rather than @extents, remove
unnecessary @depth assignment.

Fixes: 9810341a8 ("LU-14729 osd-ldiskfs: fix to declare write commits")
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I1e0fc9069a579736a74b0ba2607056fe980574c3
Reviewed-on: https://review.whamcloud.com/44316
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_io.c