<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/f2fs/node.c, 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-06-27T10:13:04Z</updated>
<entry>
<title>f2fs: fix to return correct error number in f2fs_sync_node_pages()</title>
<updated>2025-06-27T10:13:04Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2025-05-08T05:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0e68a63f03883fd6ae75de560a7791c50318026'/>
<id>urn:sha1:d0e68a63f03883fd6ae75de560a7791c50318026</id>
<content type='text'>
commit 43ba56a043b14426ca9ecac875ab357e32cb595e upstream.

If __write_node_folio() failed, it will return AOP_WRITEPAGE_ACTIVATE,
the incorrect return value may be passed to userspace in below path,
fix it.

- sync_filesystem
 - sync_fs
  - f2fs_issue_checkpoint
   - block_operations
    - f2fs_sync_node_pages
     - __write_node_folio
     : return AOP_WRITEPAGE_ACTIVATE

Cc: stable@vger.kernel.org
Reported-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>f2fs: Remove f2fs_write_node_page()</title>
<updated>2025-03-11T19:38:00Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2025-03-07T18:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ff0104a805245d76cd2bdcbb9e2ca4f4fcff3e4'/>
<id>urn:sha1:7ff0104a805245d76cd2bdcbb9e2ca4f4fcff3e4</id>
<content type='text'>
Mappings which implement writepages should not implement writepage
as it can only harm writeback patterns.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>Revert "f2fs: rebuild nat_bits during umount"</title>
<updated>2025-03-11T03:25:54Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2025-03-05T11:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19426c4988aa85298c1b4caf2889d37ec5c80fea'/>
<id>urn:sha1:19426c4988aa85298c1b4caf2889d37ec5c80fea</id>
<content type='text'>
This reverts commit 94c821fb286b545d37549ff30a0c341e066f0d6c.

It reports that there is potential corruption in node footer,
the most suspious feature is nat_bits, let's revert recovery
related code.

Signed-off-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce FAULT_INCONSISTENT_FOOTER</title>
<updated>2025-03-11T03:25:53Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2025-03-05T09:11:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1788971e0bfae0911e356ba7f8a517d659d6709d'/>
<id>urn:sha1:1788971e0bfae0911e356ba7f8a517d659d6709d</id>
<content type='text'>
To simulate inconsistent node footer error.

Signed-off-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: do sanity check on xattr node footer in f2fs_get_xnode_page()</title>
<updated>2025-03-11T03:25:53Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2025-03-05T09:11:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2aac2538a97d35b0a1beb60dce6001f5625b82e6'/>
<id>urn:sha1:2aac2538a97d35b0a1beb60dce6001f5625b82e6</id>
<content type='text'>
This patch introduces a new wrapper f2fs_get_xnode_page(), then, caller
can use it to load xattr block to page cache, meanwhile it will do sanity
check on xattr node footer.

Signed-off-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: do sanity check on inode footer in f2fs_get_inode_page()</title>
<updated>2025-03-11T03:25:53Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2025-03-05T09:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cf6b5670af1f4e9d5bf2f7201e368733c59cbdd'/>
<id>urn:sha1:1cf6b5670af1f4e9d5bf2f7201e368733c59cbdd</id>
<content type='text'>
This patch introduces a new wrapper f2fs_get_inode_page(), then, caller
can use it to load inode block to page cache, meanwhile it will do sanity
check on inode footer.

Signed-off-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: control nat_bits feature via mount option</title>
<updated>2025-03-08T16:04:10Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2025-03-08T05:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2ecba026586cda6c7dc0fe9e6e60e7e9386c3bd'/>
<id>urn:sha1:c2ecba026586cda6c7dc0fe9e6e60e7e9386c3bd</id>
<content type='text'>
Introduce a new mount option "nat_bits" to control nat_bits feature,
by default nat_bits feature is disabled.

Signed-off-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: Use a folio throughout f2fs_truncate_inode_blocks()</title>
<updated>2025-03-04T17:02:25Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2025-02-18T05:51:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=520b17e093f42e5d71fdc36e5203cec69188ea56'/>
<id>urn:sha1:520b17e093f42e5d71fdc36e5203cec69188ea56</id>
<content type='text'>
Use f2fs_get_node_folio() to get a folio and use it throughout.  Remove a
few calls to compound_head() and a reference to page-&gt;mapping.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: Add f2fs_get_node_folio()</title>
<updated>2025-03-04T17:02:25Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2025-02-18T05:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d417ae2bfce4a778cf4e65d87ec124ba871b3fb'/>
<id>urn:sha1:4d417ae2bfce4a778cf4e65d87ec124ba871b3fb</id>
<content type='text'>
Change __get_node_page() to return a folio and convert back to a page in
f2fs_get_node_page() and f2fs_get_node_page_ra().

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: Convert f2fs_in_warm_node_list() to take a folio</title>
<updated>2025-03-04T17:02:25Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2025-02-18T05:51:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a58a41ccce6da41bd5b98ede50227998d3e8ca3'/>
<id>urn:sha1:1a58a41ccce6da41bd5b98ede50227998d3e8ca3</id>
<content type='text'>
All its callers now have access to a folio, so pass it in.  Removes
an access to page-&gt;mapping.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Chao Yu &lt;chao@kernel.org&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
</feed>
