<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/xfs/libxfs, branch linux-6.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-07-24T06:58:30Z</updated>
<entry>
<title>xfs: don't allocate the xfs_extent_busy structure for zoned RTGs</title>
<updated>2025-07-24T06:58:30Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2025-07-16T12:54:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bffff7253b7b1d87a0048c03c285eae72e47dc6c'/>
<id>urn:sha1:bffff7253b7b1d87a0048c03c285eae72e47dc6c</id>
<content type='text'>
commit 5948705adbf1a7afcecfe9a13ff39221ef61e16b upstream.

Busy extent tracking is primarily used to ensure that freed blocks are
not reused for data allocations before the transaction that deleted them
has been committed to stable storage, and secondarily to drive online
discard.  None of the use cases applies to zoned RTGs, as the zoned
allocator can't overwrite blocks before resetting the zone, which already
flushes out all transactions touching the RTGs.

So the busy extent tracking is not needed for zoned RTGs, and also not
called for zoned RTGs.  But somehow the code to skip allocating and
freeing the structure got lost during the zoned XFS upstreaming process.
This not only causes these structures to unnecessarily allocated, but can
also lead to memory leaks as the xg_busy_extents pointer in the
xfs_group structure is overlayed with the pointer for the linked list
of to be reset zones.

Stop allocating and freeing the structure to not pointlessly allocate
memory which is then leaked when the zone is reset.

Fixes: 080d01c41d44 ("xfs: implement zoned garbage collection")
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v6.15
[cem: Fix type and add stable tag]
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>xfs: remove the flags argument to xfs_buf_get_uncached</title>
<updated>2025-03-18T13:47:45Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2025-03-17T05:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3f8f2903b8cd48b0746bf05a40b85ae4b684034'/>
<id>urn:sha1:b3f8f2903b8cd48b0746bf05a40b85ae4b684034</id>
<content type='text'>
No callers passes flags to xfs_buf_get_uncached, which makes sense
given that the flags apply to behavior not used for uncached buffers.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Carlos Maiolino &lt;cmaiolino@redhat.com&gt;
Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'xfs-6.15-folios_vmalloc' into XFS-for-linus-6.15-merge</title>
<updated>2025-03-18T13:10:30Z</updated>
<author>
<name>Carlos Maiolino</name>
</author>
<published>2025-03-18T13:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3a60b673a229940ab531dfbe917a91c8ea3cefc'/>
<id>urn:sha1:c3a60b673a229940ab531dfbe917a91c8ea3cefc</id>
<content type='text'>
Merge buffer cache conversion to folios and vmalloc

Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'xfs-6.15-zoned_devices' into XFS-for-linus-6.15-merge</title>
<updated>2025-03-18T13:06:04Z</updated>
<author>
<name>Carlos Maiolino</name>
</author>
<published>2025-03-18T13:06:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e6415460ff16f5a9673a021547e0a34358ddfe9'/>
<id>urn:sha1:8e6415460ff16f5a9673a021547e0a34358ddfe9</id>
<content type='text'>
Merge Zoned allocator for XFS.

Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>xfs: Use abs_diff instead of XFS_ABSDIFF</title>
<updated>2025-03-14T12:40:17Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2025-03-03T18:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca3ac4bf4dc307cea5781dccccf41c1d14c2f82f'/>
<id>urn:sha1:ca3ac4bf4dc307cea5781dccccf41c1d14c2f82f</id>
<content type='text'>
We have a central definition for this function since 2023, used by
a number of different parts of the kernel.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Carlos Maiolino &lt;cmaiolino@redhat.com&gt;
Reviewed-by: Eric Sandeen &lt;sandeen@redhat.com&gt;
Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>xfs: Remove duplicate xfs_rtbitmap.h header</title>
<updated>2025-03-12T09:00:43Z</updated>
<author>
<name>Jiapeng Chong</name>
</author>
<published>2025-03-12T01:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fcb255537bee25560af03c583b44866e73a8eb40'/>
<id>urn:sha1:fcb255537bee25560af03c583b44866e73a8eb40</id>
<content type='text'>
./fs/xfs/libxfs/xfs_sb.c: xfs_rtbitmap.h is included more than once.

Fixes: 2167eaabe2fa ("xfs: define the zoned on-disk format")
Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=19446
Signed-off-by: Jiapeng Chong &lt;jiapeng.chong@linux.alibaba.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>xfs: kill XBF_UNMAPPED</title>
<updated>2025-03-10T13:29:44Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2025-03-10T13:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2f790b28512c22f7cf4f420a99e1b008e7098fe'/>
<id>urn:sha1:a2f790b28512c22f7cf4f420a99e1b008e7098fe</id>
<content type='text'>
Unmapped buffer access is a pain, so kill it. The switch to large
folios means we rarely pay a vmap penalty for large buffers,
so this functionality is largely unnecessary now.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'xfs-6.15-merge' into for-next</title>
<updated>2025-03-10T09:35:39Z</updated>
<author>
<name>Carlos Maiolino</name>
</author>
<published>2025-03-10T09:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32f6987f938433bcd93e6c04aecedfe079460ceb'/>
<id>urn:sha1:32f6987f938433bcd93e6c04aecedfe079460ceb</id>
<content type='text'>
XFS code for 6.15 to be merged into linux-next

Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>xfs: Use abs_diff instead of XFS_ABSDIFF</title>
<updated>2025-03-10T09:28:34Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2025-03-03T18:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d138b6fb4da63b46981bca744f8f262d2524281'/>
<id>urn:sha1:5d138b6fb4da63b46981bca744f8f262d2524281</id>
<content type='text'>
We have a central definition for this function since 2023, used by
a number of different parts of the kernel.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Carlos Maiolino &lt;cmaiolino@redhat.com&gt;
Reviewed-by: Eric Sandeen &lt;sandeen@redhat.com&gt;
Signed-off-by: Carlos Maiolino &lt;cem@kernel.org&gt;
</content>
</entry>
<entry>
<title>xfs: support zone gaps</title>
<updated>2025-03-03T15:17:09Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2024-12-21T09:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97c69ba1c08d5a2bb3cacecae685b63e20e4d485'/>
<id>urn:sha1:97c69ba1c08d5a2bb3cacecae685b63e20e4d485</id>
<content type='text'>
Zoned devices can have gaps beyond the usable capacity of a zone and the
end in the LBA/daddr address space.  In other words, the hardware
equivalent to the RT groups already takes care of the power of 2
alignment for us.  In this case the sparse FSB/RTB address space maps 1:1
to the device address space.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: "Darrick J. Wong" &lt;djwong@kernel.org&gt;
</content>
</entry>
</feed>
