* Shrinking XFS - is that happening?
@ 2025-08-04 15:13 Roy Sigurd Karlsbakk
2025-08-05 4:50 ` Nirjhar Roy (IBM)
2025-08-05 5:01 ` Nirjhar Roy (IBM)
0 siblings, 2 replies; 7+ messages in thread
From: Roy Sigurd Karlsbakk @ 2025-08-04 15:13 UTC (permalink / raw)
To: linux-xfs
Hi all!
I beleive I heard something from someone some time back about work in progress on shrinking xfs filesystems. Is this something that's been worked with or have I been lied to or just had a nice dream?
roy
--
Roy Sigurd Karlsbakk
roy@karlsbakk.net
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Shrinking XFS - is that happening?
2025-08-04 15:13 Shrinking XFS - is that happening? Roy Sigurd Karlsbakk
@ 2025-08-05 4:50 ` Nirjhar Roy (IBM)
2025-08-11 10:48 ` Christoph Hellwig
2025-08-05 5:01 ` Nirjhar Roy (IBM)
1 sibling, 1 reply; 7+ messages in thread
From: Nirjhar Roy (IBM) @ 2025-08-05 4:50 UTC (permalink / raw)
To: Roy Sigurd Karlsbakk, linux-xfs
On Mon, 2025-08-04 at 17:13 +0200, Roy Sigurd Karlsbakk wrote:
> Hi all!
>
> I beleive I heard something from someone some time back about work in progress on shrinking xfs filesystems. Is this something that's been worked with or have I been lied to or just had a nice dream?
>
> roy
I have recently posted an RFC[1]. The work is based/inspired from an old RFC[2] by Gao and ideas
given by Dave Chinner.
[1] https://lore.kernel.org/all/cover.1752746805.git.nirjhar.roy.lists@gmail.com/
[2] https://lore.kernel.org/all/20210414195240.1802221-1-hsiangkao@redhat.com/
--NR
>
> --
> Roy Sigurd Karlsbakk
> roy@karlsbakk.net
> --
> I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Shrinking XFS - is that happening?
2025-08-04 15:13 Shrinking XFS - is that happening? Roy Sigurd Karlsbakk
2025-08-05 4:50 ` Nirjhar Roy (IBM)
@ 2025-08-05 5:01 ` Nirjhar Roy (IBM)
1 sibling, 0 replies; 7+ messages in thread
From: Nirjhar Roy (IBM) @ 2025-08-05 5:01 UTC (permalink / raw)
To: Roy Sigurd Karlsbakk, linux-xfs
On Mon, 2025-08-04 at 17:13 +0200, Roy Sigurd Karlsbakk wrote:
> Hi all!
>
> I beleive I heard something from someone some time back about work in progress on shrinking xfs filesystems. Is this something that's been worked with or have I been lied to or just had a nice dream?
I have recently posted an RFC[1]. The work is based/inspired from an old RFC[2] by Gao and ideas
given by Dave Chinner.
[1] https://lore.kernel.org/all/cover.1752746805.git.nirjhar.roy.lists@gmail.com/
[2] https://lore.kernel.org/all/20210414195240.1802221-1-hsiangkao@redhat.com/
--NR
>
> roy
>
> --
> Roy Sigurd Karlsbakk
> roy@karlsbakk.net
> --
> I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Shrinking XFS - is that happening?
2025-08-05 4:50 ` Nirjhar Roy (IBM)
@ 2025-08-11 10:48 ` Christoph Hellwig
2025-08-11 15:25 ` Darrick J. Wong
0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2025-08-11 10:48 UTC (permalink / raw)
To: Nirjhar Roy (IBM); +Cc: Roy Sigurd Karlsbakk, linux-xfs
On Tue, Aug 05, 2025 at 10:20:15AM +0530, Nirjhar Roy (IBM) wrote:
> On Mon, 2025-08-04 at 17:13 +0200, Roy Sigurd Karlsbakk wrote:
> > Hi all!
> >
> > I beleive I heard something from someone some time back about work in progress on shrinking xfs filesystems. Is this something that's been worked with or have I been lied to or just had a nice dream?
> >
> > roy
> I have recently posted an RFC[1]. The work is based/inspired from an old RFC[2] by Gao and ideas
> given by Dave Chinner.
Like the previous attempts it doesn't seem to include an attempt to
address the elephant in the room: moving inodes out of the to be
removed AGs or tail blocks of an AG.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Shrinking XFS - is that happening?
2025-08-11 10:48 ` Christoph Hellwig
@ 2025-08-11 15:25 ` Darrick J. Wong
2026-01-12 14:35 ` Nirjhar Roy (IBM)
0 siblings, 1 reply; 7+ messages in thread
From: Darrick J. Wong @ 2025-08-11 15:25 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Nirjhar Roy (IBM), Roy Sigurd Karlsbakk, linux-xfs
On Mon, Aug 11, 2025 at 03:48:18AM -0700, Christoph Hellwig wrote:
> On Tue, Aug 05, 2025 at 10:20:15AM +0530, Nirjhar Roy (IBM) wrote:
> > On Mon, 2025-08-04 at 17:13 +0200, Roy Sigurd Karlsbakk wrote:
> > > Hi all!
> > >
> > > I beleive I heard something from someone some time back about work in progress on shrinking xfs filesystems. Is this something that's been worked with or have I been lied to or just had a nice dream?
> > >
> > > roy
> > I have recently posted an RFC[1]. The work is based/inspired from an old RFC[2] by Gao and ideas
> > given by Dave Chinner.
>
> Like the previous attempts it doesn't seem to include an attempt to
> address the elephant in the room: moving inodes out of the to be
> removed AGs or tail blocks of an AG.
Anyone who wants to finish the evacuation part is welcome to pick this
up:
https://lore.kernel.org/linux-xfs/173568777852.2709794.6356870909327619205.stgit@frogsfrogsfrogs/
--D
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Shrinking XFS - is that happening?
2025-08-11 15:25 ` Darrick J. Wong
@ 2026-01-12 14:35 ` Nirjhar Roy (IBM)
2026-01-12 21:53 ` Darrick J. Wong
0 siblings, 1 reply; 7+ messages in thread
From: Nirjhar Roy (IBM) @ 2026-01-12 14:35 UTC (permalink / raw)
To: Darrick J. Wong; +Cc: Roy Sigurd Karlsbakk, linux-xfs
On 8/11/25 20:55, Darrick J. Wong wrote:
> On Mon, Aug 11, 2025 at 03:48:18AM -0700, Christoph Hellwig wrote:
>> On Tue, Aug 05, 2025 at 10:20:15AM +0530, Nirjhar Roy (IBM) wrote:
>>> On Mon, 2025-08-04 at 17:13 +0200, Roy Sigurd Karlsbakk wrote:
>>>> Hi all!
>>>>
>>>> I beleive I heard something from someone some time back about work in progress on shrinking xfs filesystems. Is this something that's been worked with or have I been lied to or just had a nice dream?
>>>>
>>>> roy
>>> I have recently posted an RFC[1]. The work is based/inspired from an old RFC[2] by Gao and ideas
>>> given by Dave Chinner.
>> Like the previous attempts it doesn't seem to include an attempt to
>> address the elephant in the room: moving inodes out of the to be
>> removed AGs or tail blocks of an AG.
> Anyone who wants to finish the evacuation part is welcome to pick this
> up:
> https://lore.kernel.org/linux-xfs/173568777852.2709794.6356870909327619205.stgit@frogsfrogsfrogs/
Hi Darrick,
I am working on the extending my online shrink fs work [1] to realtime
fs shrink and as a part of that project, I am looking into the patchbomb
above - specifically " [PATCHSET 3/5] xfsprogs: defragment free space".
I have a high level questions before I delve deep into the patches above:
1. Can you please elaborate a bit on what do you mean by "finish the
evacuation part"? I took a very high level look at the patch, and it
seems it is already adding support to move data from one rtg/AG to another?
--NR
>
> --D
--
Nirjhar Roy
Linux Kernel Developer
IBM, Bangalore
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Shrinking XFS - is that happening?
2026-01-12 14:35 ` Nirjhar Roy (IBM)
@ 2026-01-12 21:53 ` Darrick J. Wong
0 siblings, 0 replies; 7+ messages in thread
From: Darrick J. Wong @ 2026-01-12 21:53 UTC (permalink / raw)
To: Nirjhar Roy (IBM); +Cc: Roy Sigurd Karlsbakk, linux-xfs
On Mon, Jan 12, 2026 at 08:05:12PM +0530, Nirjhar Roy (IBM) wrote:
>
> On 8/11/25 20:55, Darrick J. Wong wrote:
> > On Mon, Aug 11, 2025 at 03:48:18AM -0700, Christoph Hellwig wrote:
> > > On Tue, Aug 05, 2025 at 10:20:15AM +0530, Nirjhar Roy (IBM) wrote:
> > > > On Mon, 2025-08-04 at 17:13 +0200, Roy Sigurd Karlsbakk wrote:
> > > > > Hi all!
> > > > >
> > > > > I beleive I heard something from someone some time back about work in progress on shrinking xfs filesystems. Is this something that's been worked with or have I been lied to or just had a nice dream?
> > > > >
> > > > > roy
> > > > I have recently posted an RFC[1]. The work is based/inspired from an old RFC[2] by Gao and ideas
> > > > given by Dave Chinner.
> > > Like the previous attempts it doesn't seem to include an attempt to
> > > address the elephant in the room: moving inodes out of the to be
> > > removed AGs or tail blocks of an AG.
> > Anyone who wants to finish the evacuation part is welcome to pick this
> > up:
> > https://lore.kernel.org/linux-xfs/173568777852.2709794.6356870909327619205.stgit@frogsfrogsfrogs/
>
> Hi Darrick,
>
> I am working on the extending my online shrink fs work [1] to realtime fs
> shrink and as a part of that project, I am looking into the patchbomb above
> - specifically " [PATCHSET 3/5] xfsprogs: defragment free space". I have a
> high level questions before I delve deep into the patches above:
>
> 1. Can you please elaborate a bit on what do you mean by "finish the
> evacuation part"? I took a very high level look at the patch, and it seems
> it is already adding support to move data from one rtg/AG to another?
It can evacuate fully mapped blocks, but it can't do that for the EOF
block if the EOF is in the middle of that block.
--D
> --NR
>
> >
> > --D
>
> --
> Nirjhar Roy
> Linux Kernel Developer
> IBM, Bangalore
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-01-12 21:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-04 15:13 Shrinking XFS - is that happening? Roy Sigurd Karlsbakk
2025-08-05 4:50 ` Nirjhar Roy (IBM)
2025-08-11 10:48 ` Christoph Hellwig
2025-08-11 15:25 ` Darrick J. Wong
2026-01-12 14:35 ` Nirjhar Roy (IBM)
2026-01-12 21:53 ` Darrick J. Wong
2025-08-05 5:01 ` Nirjhar Roy (IBM)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox