<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/fs/gfs2/meta_io.c, branch 0x221E-v0.0.1-v6.19</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=0x221E-v0.0.1-v6.19</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=0x221E-v0.0.1-v6.19'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2025-11-26T23:52:26Z</updated>
<entry>
<title>Revert "gfs2: don't stop reads while withdraw in progress"</title>
<updated>2025-11-26T23:52:26Z</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruenba@redhat.com</email>
</author>
<published>2025-07-25T20:06:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=833c93caea00b0aef3e22a08fd20acacf212b6fc'/>
<id>urn:sha1:833c93caea00b0aef3e22a08fd20acacf212b6fc</id>
<content type='text'>
The current withdraw code duplicates the journal recovery code gfs2
already has for dealing with node failures, and it does so poorly.  That
code was added because when releasing a lockspace, we didn't have a way
to indicate that the lockspace needs recovery.  We now do have this
feature, so the current withdraw code can be removed almost entirely.
This is one of several steps towards that.

The withdrawing node has no role in recovering from the withdraw
anymore, so it also no longer needs to read metadata blocks after a
withdraw.

We now only need to set a single bit in gfs2_withdraw(), so switch from
try_cmpxchg() to test_and_set_bit().

Reverts commit 8cc67f704f4b ("gfs2: don't stop reads while withdraw in
progress").

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Kill gfs2_io_error_bh_wd</title>
<updated>2025-11-26T23:52:26Z</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruenba@redhat.com</email>
</author>
<published>2025-08-05T22:08:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fab27b49305c8cabe9c5bf91a66f8ca4884c1aec'/>
<id>urn:sha1:fab27b49305c8cabe9c5bf91a66f8ca4884c1aec</id>
<content type='text'>
All callers of gfs2_io_error_bh() call gfs2_withdraw() as well, so
change gfs2_io_error_bh() to call gfs2_withdraw() directly.  This also
brings it in line with other similar error reporting functions.

With that, gfs2_io_error_bh() is the same as gfs2_io_error_bh_wd(), so
remove the latter.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Rename gfs2_{withdrawing_or_ =&gt; }withdrawn</title>
<updated>2025-11-26T23:52:23Z</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruenba@redhat.com</email>
</author>
<published>2025-08-06T15:30:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1b7d498dcab489c4bcbc46870264fbeaf81c16e7'/>
<id>urn:sha1:1b7d498dcab489c4bcbc46870264fbeaf81c16e7</id>
<content type='text'>
With delayed withdraws and the SDF_WITHDRAWING flag gone, we can now
rename gfs2_withdrawing_or_withdrawn() back to gfs2_withdrawn().

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Set .migrate_folio in gfs2_{rgrp,meta}_aops</title>
<updated>2025-07-15T11:10:01Z</updated>
<author>
<name>Andrew Price</name>
<email>anprice@redhat.com</email>
</author>
<published>2025-07-14T15:21:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5c8f12cf1e64e0e8e6cb80b0c935389973e8be8d'/>
<id>urn:sha1:5c8f12cf1e64e0e8e6cb80b0c935389973e8be8d</id>
<content type='text'>
Clears up the warning added in 7ee3647243e5 ("migrate: Remove call to
-&gt;writepage") that occurs in various xfstests, causing "something found
in dmesg" failures.

[  341.136573] gfs2_meta_aops does not implement migrate_folio
[  341.136953] WARNING: CPU: 1 PID: 36 at mm/migrate.c:944 move_to_new_folio+0x2f8/0x300

Signed-off-by: Andrew Price &lt;anprice@redhat.com&gt;
Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Remove GIF_ALLOC_FAILED flag</title>
<updated>2025-07-09T17:40:07Z</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruenba@redhat.com</email>
</author>
<published>2025-05-23T21:23:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2c6e2cb9e7228181e93ae8957f403affd8abf0e2'/>
<id>urn:sha1:2c6e2cb9e7228181e93ae8957f403affd8abf0e2</id>
<content type='text'>
Get rid of the GIF_ALLOC_FAILED flag; we can now be confident that the
additional consistency check isn't needed.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Use SECTOR_SIZE and SECTOR_SHIFT</title>
<updated>2025-07-09T17:40:07Z</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruenba@redhat.com</email>
</author>
<published>2025-04-24T15:33:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=00983d248c005f98535a5d6423fab414d640c112'/>
<id>urn:sha1:00983d248c005f98535a5d6423fab414d640c112</id>
<content type='text'>
Use the SECTOR_SIZE and SECTOR_SHIFT constants where appropriate instead
of hardcoding their values.

Reported-by: Damien Le Moal &lt;dlemoal@kernel.org&gt;
Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: replace sd_aspace with sd_inode</title>
<updated>2025-04-21T16:20:36Z</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruenba@redhat.com</email>
</author>
<published>2025-04-05T22:31:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ae9f3bd8259a0a8f67be2420e66bb05fbb95af48'/>
<id>urn:sha1:ae9f3bd8259a0a8f67be2420e66bb05fbb95af48</id>
<content type='text'>
Currently, sdp-&gt;sd_aspace and the per-inode metadata address spaces use
sb-&gt;s_bdev-&gt;bd_mapping-&gt;host as their -&gt;host; folios in those address
spaces will thus appear to be on bdev rather than on gfs2 filesystems.
This is a problem because gfs2 doesn't support cgroup writeback
(SB_I_CGROUPWB), but bdev does.

Fix that by using a "dummy" gfs2 inode as -&gt;host in those address
spaces.  When coming from a folio, folio-&gt;mapping-&gt;host-&gt;i_sb will then
be a gfs2 super block and the SB_I_CGROUPWB flag will not be set in
sb-&gt;s_iflags.

Based on a previous version from Bob Peterson from several years ago.
Thanks to Tetsuo Handa, Jan Kara, and Rafael Aquini for helping figure
this out.

Fixes: aaa2cacf8184 ("writeback: add lockdep annotation to inode_to_wb()")
Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Convert gfs2_meta_read_endio() to use a folio</title>
<updated>2025-03-10T17:15:39Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
<email>willy@infradead.org</email>
</author>
<published>2025-02-10T13:34:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0776a508d1d4480d23873ccbee336123c992ff6e'/>
<id>urn:sha1:0776a508d1d4480d23873ccbee336123c992ff6e</id>
<content type='text'>
Switch from bio_for_each_segment_all() to bio_for_each_folio_all()
which removes a call to page_buffers().

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Use b_folio in gfs2_submit_bhs()</title>
<updated>2025-03-10T17:15:39Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
<email>willy@infradead.org</email>
</author>
<published>2025-02-10T13:34:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=072d732c055fc75e3e12f6ea190bbf453e0297f5'/>
<id>urn:sha1:072d732c055fc75e3e12f6ea190bbf453e0297f5</id>
<content type='text'>
Remove a reference to bh-&gt;b_page which is going to be removed soon.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Remove gfs2_aspace_writepage()</title>
<updated>2024-09-02T12:46:37Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
<email>willy@infradead.org</email>
</author>
<published>2024-07-19T17:51:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6888c1e85f5db129e6ddcff879bb127bbfdb5c64'/>
<id>urn:sha1:6888c1e85f5db129e6ddcff879bb127bbfdb5c64</id>
<content type='text'>
There are no remaining callers of gfs2_aspace_writepage() other than
vmscan, which is known to do more harm than good.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
</feed>
