]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd964b2110d7fbfacdb5cf28abbc07194f0a92779
tree74e9498c0cb0f42a3158d0a892181316e5a8a243
parent4a3db5d20cee95479f98d8695bd35350067e21b6
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