Whamcloud - gitweb
LU-14729 osd-ldiskfs: declare dirty block groups correctly 06/45506/2
authorWang Shilong <wshilong@ddn.com>
Wed, 2 Jun 2021 01:52:39 +0000 (09:52 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 14 Nov 2021 03:10:33 +0000 (03:10 +0000)
commit8e1e4194258ba83ecba2e4ed5c1d19a79faf28c4
tree369482c15826f9ffea4da52027637a21e8091b27
parent1734c4746d98dfa6fc6559841be8028a22465718
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.

Lustre-change: https://review.whamcloud.com/43890
Lustre-commit: 42cda8781f94ad1138afac2d23180ea48f3c3450

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