diff options
author | Theodore Ts'o <tytso@mit.edu> | 2019-08-11 16:30:41 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-08-11 16:30:41 -0400 |
commit | b0c013e2928d3696ceb6401311dbc1d7fcccd6dd (patch) | |
tree | 673e10bc5de72eab8f375f913df207ccf6a3afea /fs/ext4/extents_status.h | |
parent | 547b9ad698b434eadca46319cb47e5875b55ef03 (diff) | |
download | linux-rpi-b0c013e2928d3696ceb6401311dbc1d7fcccd6dd.tar.gz linux-rpi-b0c013e2928d3696ceb6401311dbc1d7fcccd6dd.tar.bz2 linux-rpi-b0c013e2928d3696ceb6401311dbc1d7fcccd6dd.zip |
ext4: add a new ioctl EXT4_IOC_CLEAR_ES_CACHE
The new ioctl EXT4_IOC_CLEAR_ES_CACHE will force an inode's extent
status cache to be cleared out. This is intended for use for
debugging.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/extents_status.h')
-rw-r--r-- | fs/ext4/extents_status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/extents_status.h b/fs/ext4/extents_status.h index 131a8b7df265..e16785f431e7 100644 --- a/fs/ext4/extents_status.h +++ b/fs/ext4/extents_status.h @@ -248,5 +248,6 @@ extern unsigned int ext4_es_delayed_clu(struct inode *inode, ext4_lblk_t lblk, ext4_lblk_t len); extern void ext4_es_remove_blks(struct inode *inode, ext4_lblk_t lblk, ext4_lblk_t len); +extern void ext4_clear_inode_es(struct inode *inode); #endif /* _EXT4_EXTENTS_STATUS_H */ |