[Devel] [PATCH RH7 0/4] ploop: Protect fastmap against defrag and punch hole
Vasily Averin
vvs at virtuozzo.com
Thu Aug 6 16:58:22 MSK 2020
do you have bug ID for this problem?
On 8/6/20 2:49 PM, Kirill Tkhai wrote:
> This protects fastmap against mapped extent disappearance,
> which may be a result of extenal actions (move extent and
> punch hole) on root.hds. Thus, root.hds becomes more "normal"
> file.
>
> ---
>
> Kirill Tkhai (4):
> ploop: Introduce ->fastmap_end_io
> ploop: Add @write argument to ->fastmap
> fs: Export mapping_needs_writeback()
> ploop: io_kaio: Protect ->fastmap against EXT4_IOC_MOVE_EXT and punch hole
>
>
> drivers/block/ploop/dev.c | 25 ++++++++++++++++++++++--
> drivers/block/ploop/io_kaio.c | 22 ++++++++++++++++++---
> fs/ext4/file.c | 43 ++++++++++++++++++++++++++++++++++++++---
> include/linux/fs.h | 2 +-
> include/linux/pagemap.h | 7 +++++++
> include/linux/ploop/ploop.h | 8 ++++++++
> mm/filemap.c | 6 ------
> 7 files changed, 98 insertions(+), 15 deletions(-)
>
> --
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
>
More information about the Devel
mailing list