Opened 7 years ago
Last modified 7 years ago
#14180 new bug
KDL on corrupt BFS - B+tree header size doesn't fit
Reported by: | kallisti5 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | File Systems/BFS | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Saw this while playing with fstrim (#10336)
- fstrim empty filesystem
- Copied file to filesystem
- fstrim filesystem
- unmount
- mount
- KDL
Mounting a corrupted BFS shouldn't result in a KDL.
x86_64 hrev51985
B+tree header size 0 doesn't fit file size 2048! bfs: SetTo:721: Bad data bfs: could not create root node! bfs: bfs_mount:174: Invalid Argument
It looks like things should of bailed on the mount but didn't?
Attachments (2)
Change History (4)
by , 7 years ago
Attachment: | BFS_Protection Exception_1.png added |
---|
by , 7 years ago
Attachment: | panic_inode.png added |
---|
comment:1 by , 7 years ago
Note:
See TracTickets
for help on using tickets.
Is it a regression?