Bug 216494 - ubifs: bad space budget for do_rename when target inode's(block dev) link_count > 1
Summary: ubifs: bad space budget for do_rename when target inode's(block dev) link_cou...
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-16 06:29 UTC by Zhihao Cheng
Modified: 2022-10-12 07:35 UTC (History)
0 users

See Also:
Kernel Version: 6.0.0-rc4
Subsystem:
Regression: No
Bisected commit-id:


Attachments
diff (919 bytes, patch)
2022-09-16 06:29 UTC, Zhihao Cheng
Details | Diff
setup.sh (1.96 KB, application/x-shellscript)
2022-09-16 06:30 UTC, Zhihao Cheng
Details

Description Zhihao Cheng 2022-09-16 06:29:28 UTC
CONFIG_UBIFS_FS=m
CONFIG_MTD_UBI=m
CONFIG_MTD_NAND_NANDSIM=m

1. Apply diff and compile kernel
2. ./setup.sh 1
3. dmesg
[   64.389859] <7475> budget: dd_growth 792
[   64.400945] <7475> disk: mod_dent 312 dirty_ino+data 488

budget 792 < disk 800 (312 + 488)
Comment 1 Zhihao Cheng 2022-09-16 06:29:57 UTC
Created attachment 301816 [details]
diff
Comment 2 Zhihao Cheng 2022-09-16 06:30:09 UTC
Created attachment 301817 [details]
setup.sh
Comment 3 Zhihao Cheng 2022-10-12 07:35:11 UTC
(In reply to Zhihao Cheng from comment #0)
> CONFIG_UBIFS_FS=m
> CONFIG_MTD_UBI=m
> CONFIG_MTD_NAND_NANDSIM=m
> 
> 1. Apply diff and compile kernel
> 2. ./setup.sh 1
> 3. dmesg
> [   64.389859] <7475> budget: dd_growth 792
> [   64.400945] <7475> disk: mod_dent 312 dirty_ino+data 488
> 
> budget 792 < disk 800 (312 + 488)

Note: The budget value is calculated after https://patchwork.ozlabs.org/project/linux-mtd/patch/20221011034732.45605-5-chengzhihao1@huawei.com/ applied.

Note You need to log in before you can comment on or make changes to this bug.