Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] btrfs-progs: add support ext4 unwritten file extent
@ 2024-05-06  3:04 Anand Jain
  2024-05-06  3:04 ` [PATCH v2 1/4] btrfs-progs: convert: refactor ext2_create_file_extents add argument ext2_inode Anand Jain
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Anand Jain @ 2024-05-06  3:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: wqu, dsterba, y16267966

v2:
 Fix per review comments.
 Identify and fail safe prealloc merged with regular blocks.

These patches add support for the ext4 file data unwritten/preallocated
extents. Patches 1-3 are preparatory patches, and patch 4 adds the
missing feature.

Patch 4 is marked as RFC because this patch is tested with limited
variants of the file extents with unwritten flag.


Anand Jain (4):
  btrfs-progs: convert: refactor ext2_create_file_extents add argument
    ext2_inode
  btrfs-progs: convert: struct blk_iterate_data, add ext2-specific file
    inode pointers
  btrfs-progs: convert: refactor __btrfs_record_file_extent to add a
    prealloc flag
  btrfs-progs: convert: support ext2 unwritten file data extents

 common/extent-tree-utils.c |  8 +++---
 common/extent-tree-utils.h |  2 +-
 convert/main.c             | 10 ++++---
 convert/source-ext2.c      | 59 +++++++++++++++++++++++++++++++++++++-
 convert/source-ext2.h      |  9 ++++++
 convert/source-fs.c        | 26 +++++++++++++++--
 convert/source-fs.h        |  3 ++
 convert/source-reiserfs.c  |  2 +-
 mkfs/rootdir.c             |  3 +-
 9 files changed, 108 insertions(+), 14 deletions(-)

-- 
2.39.3


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-05-09  9:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06  3:04 [PATCH v2 0/4] btrfs-progs: add support ext4 unwritten file extent Anand Jain
2024-05-06  3:04 ` [PATCH v2 1/4] btrfs-progs: convert: refactor ext2_create_file_extents add argument ext2_inode Anand Jain
2024-05-06  3:04 ` [PATCH v2 2/4] btrfs-progs: convert: struct blk_iterate_data, add ext2-specific file inode pointers Anand Jain
2024-05-06  3:04 ` [PATCH v2 3/4] btrfs-progs: convert: refactor __btrfs_record_file_extent to add a prealloc flag Anand Jain
2024-05-06  3:04 ` [PATCH v2 4/4] btrfs-progs: convert: support ext2 unwritten file data extents Anand Jain
2024-05-06  5:41   ` Qu Wenruo
2024-05-06  5:59     ` Qu Wenruo
2024-05-06  9:56       ` Anand Jain
2024-05-06 10:25         ` Qu Wenruo
2024-05-07  1:25   ` Qu Wenruo
2024-05-09  9:17     ` Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox