public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 0/6] ext4: Implement support for extsize hints
@ 2024-12-11  7:57 Ojaswin Mujoo
  2024-12-11  7:57 ` [RFC v2 1/6] ext4: add aligned allocation hint in mballoc Ojaswin Mujoo
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ojaswin Mujoo @ 2024-12-11  7:57 UTC (permalink / raw)
  To: linux-ext4, Theodore Ts'o
  Cc: Ritesh Harjani, linux-kernel, Darrick J . Wong, linux-fsdevel,
	John Garry, dchinner, Nirjhar Roy

** Changes since rfc v1 [1] **

1. Allocations beyond EOF also respect extsize hint however we 
   unlink XFS, we don't trim the blocks allocated beyond EOF due
   to extsize hints. The reasoning behind this is explained in 
   patch 6/6.

2. Minor fixes in extsize ioctl handling logic.

Rest of the design detials can be in individual patches as well as
the original cover leter which can be found here:

[1]
https://lore.kernel.org/linux-ext4/cover.1726034272.git.ojaswin@linux.ibm.com/

Further, xfsprogs changes to enable extsize get/set for ext4 can be
found here:
https://lore.kernel.org/linux-ext4/cover.1733902742.git.ojaswin@linux.ibm.com/T/#t

Comments and suggestions are welcome!

Regards,
ojaswin

Ojaswin Mujoo (6):
  ext4: add aligned allocation hint in mballoc
  ext4: allow inode preallocation for aligned alloc
  ext4: support for extsize hint using FS_IOC_FS(GET/SET)XATTR
  ext4: pass lblk and len explicitly to ext4_split_extent*()
  ext4: add extsize hint support
  ext4: make extsize work with EOF allocations

 fs/ext4/ext4.h              |  12 +-
 fs/ext4/ext4_jbd2.h         |  15 ++
 fs/ext4/extents.c           | 224 +++++++++++++++----
 fs/ext4/inode.c             | 435 ++++++++++++++++++++++++++++++++----
 fs/ext4/ioctl.c             | 122 ++++++++++
 fs/ext4/mballoc.c           | 126 +++++++++--
 fs/ext4/super.c             |   1 +
 include/trace/events/ext4.h |   2 +
 8 files changed, 836 insertions(+), 101 deletions(-)

-- 
2.43.5


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

end of thread, other threads:[~2024-12-11  7:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11  7:57 [RFC v2 0/6] ext4: Implement support for extsize hints Ojaswin Mujoo
2024-12-11  7:57 ` [RFC v2 1/6] ext4: add aligned allocation hint in mballoc Ojaswin Mujoo
2024-12-11  7:57 ` [RFC v2 2/6] ext4: allow inode preallocation for aligned alloc Ojaswin Mujoo
2024-12-11  7:57 ` [RFC v2 3/6] ext4: support for extsize hint using FS_IOC_FS(GET/SET)XATTR Ojaswin Mujoo
2024-12-11  7:57 ` [RFC v2 4/6] ext4: pass lblk and len explicitly to ext4_split_extent*() Ojaswin Mujoo
2024-12-11  7:57 ` [RFC v2 5/6] ext4: add extsize hint support Ojaswin Mujoo
2024-12-11  7:57 ` [RFC v2 6/6] ext4: make extsize work with EOF allocations Ojaswin Mujoo

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