Whamcloud - gitweb
LU-14729 osd-ldiskfs: declare dirty block groups correctly 90/43890/2
authorWang Shilong <wshilong@ddn.com>
Wed, 2 Jun 2021 01:52:39 +0000 (09:52 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 14 Jun 2021 16:44:05 +0000 (16:44 +0000)
commit42cda8781f94ad1138afac2d23180ea48f3c3450
tree713f0c36bbb5b5d1f0f1e1b80969e4f746801104
parent90ee0457c9fb1da939558186961f346c917d678f
LU-14729 osd-ldiskfs: declare dirty block groups correctly

Calculate dirty block groups only include estimated extents,
indirect blocks and extent node/leaf blocks are missed, this
could make us short of credits.

Fixes: 0271b17b80a82 ("LU-14134 osd-ldiskfs: reduce credits for new writing")
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Iec8525823b04e909c030f94bf75b8eca60d31c50
Reviewed-on: https://review.whamcloud.com/43890
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_io.c