public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ojaswin Mujoo <ojaswin@linux.ibm.com>
To: linux-ext4@vger.kernel.org, "Theodore Ts'o" <tytso@mit.edu>
Cc: Ritesh Harjani <ritesh.list@gmail.com>,
	linux-kernel@vger.kernel.org,
	"Darrick J . Wong" <djwong@kernel.org>,
	linux-fsdevel@vger.kernel.org,
	John Garry <john.g.garry@oracle.com>,
	dchinner@redhat.com, Nirjhar Roy <nirjhar@linux.ibm.com>
Subject: [RFC v2 0/6] ext4: Implement support for extsize hints
Date: Wed, 11 Dec 2024 13:27:49 +0530	[thread overview]
Message-ID: <cover.1733901374.git.ojaswin@linux.ibm.com> (raw)

** 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


             reply	other threads:[~2024-12-11  7:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11  7:57 Ojaswin Mujoo [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1733901374.git.ojaswin@linux.ibm.com \
    --to=ojaswin@linux.ibm.com \
    --cc=dchinner@redhat.com \
    --cc=djwong@kernel.org \
    --cc=john.g.garry@oracle.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nirjhar@linux.ibm.com \
    --cc=ritesh.list@gmail.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox