make_bad_inode(9)
π make_bad_inode β Kernel API Manual
okay so bestie, listen, this one's a little heartbreaker but it's important, so buckle up π
β¨ NAME β¨
make_bad_inode β mark an inode bad due to an I/O error
like literally, it's the "this one's gone, bestie" function π«Ά
πΈ SYNOPSIS πΈ
void make_bad_inode (struct inode *inode );
π¦ ARGUMENTS π¦
inodeβ the Inode to mark bad. yes that's the whole argument. it's giving minimal, it's giving "one job", and honestly? we respect it π
π DESCRIPTION π
So here's the situation: when an inode cannot be read due to a media or remote network failure, this function is the one that steps in and makes the inode "bad". periodt.
And once it's been marked bad like that? I/O operations on it fail from this point on. no take-backs, no redo, it's done π₯
ngl the whole vibe here is "the data is not coming back, stop asking" π
π§ SEE ALSO π§
- Kernel file
./fs/bad_inode.c is_bad_inode(9)iget_failed(9)
β¨ and that's the whole page, bestie β no cap β¨
this iconic little entry lives in the Kernel API Manual, comes from ./fs, and was dated October 2026 ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms