ext2: dump current reservation window info
authorYe Bin <yebin10@huawei.com>
Tue, 15 Aug 2023 11:26:12 +0000 (19:26 +0800)
committerJan Kara <jack@suse.cz>
Wed, 16 Aug 2023 15:49:47 +0000 (17:49 +0200)
commit9bc6fc3304d89f19c028cb4a8d6af94f9e5faeb0
treedfdc8936d67e0bdfdf91d97ebb52b29021afd9a0
parent83f99de1b7c0dcfa42b211e5e40334b7ad786b36
ext2: dump current reservation window info

There's report BUG in 'ext2_try_to_allocate_with_rsv()', although there's
now dump of all reservation windows information. But there's unknown which
window is being processed.So this is not helpful for locating the issue.
To better analyze the problem, dump the information about reservation window
that is being processed. And just bail with error instead of BUG here.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Message-Id: <20230815112612.221145-5-yebin10@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/balloc.c