]> git.ipfire.org Git - people/ms/linux.git/commit - fs/ext4/ioctl.c
ext4: add new ioctl EXT4_IOC_GET_ES_CACHE
authorTheodore Ts'o <tytso@mit.edu>
Sun, 11 Aug 2019 20:32:41 +0000 (16:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 11 Aug 2019 20:32:41 +0000 (16:32 -0400)
commitbb5835edcdf8bf78bbe51cff13e332c439bc0567
tree74e9498c0cb0f42a3158d0a892181316e5a8a243
parent1ad3ea6e0a694b0486eb2cbe60378ad0fbf23642
ext4: add new ioctl EXT4_IOC_GET_ES_CACHE

For debugging reasons, it's useful to know the contents of the extent
cache.  Since the extent cache contains much of what is in the fiemap
ioctl, use an fiemap-style interface to return this information.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/extents_status.c
fs/ext4/extents_status.h
fs/ext4/inode.c
fs/ext4/ioctl.c