1INVALIDATE_INODES(9) The Linux VFS INVALIDATE_INODES(9)
2
3
4
6 invalidate_inodes - discard the inodes on a device
7
9 int invalidate_inodes(struct super_block * sb, bool kill_dirty);
10
12 sb
13 superblock
14
15 kill_dirty
16 flag to guide handling of dirty inodes
17
19 Discard all of the inodes for a given superblock. If the discard fails
20 because there are busy inodes then a non zero value is returned. If the
21 discard is successful all the inodes have been discarded. If kill_dirty
22 is set, discard dirty inodes too, otherwise treat them as busy.
23
25Kernel Hackers Manual 2.6. June 2019 INVALIDATE_INODES(9)