<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/exfat/inode.c, branch linux-6.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-11-03T13:24:07Z</updated>
<entry>
<title>exfat: fix setting uninitialized time to ctime/atime</title>
<updated>2023-11-03T13:24:07Z</updated>
<author>
<name>Yuezhang Mo</name>
</author>
<published>2023-10-31T09:52:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc12a722e6b799d1d3c1520dc9ba9aab4fda04bf'/>
<id>urn:sha1:fc12a722e6b799d1d3c1520dc9ba9aab4fda04bf</id>
<content type='text'>
An uninitialized time is set to ctime/atime in __exfat_write_inode().
It causes xfstests generic/003 and generic/192 to fail.

And since there will be a time gap between setting ctime/atime to
the inode and writing back the inode, so ctime/atime should not be
set again when writing back the inode.

Fixes: 4c72a36edd54 ("exfat: convert to new timestamp accessors")
Signed-off-by: Yuezhang Mo &lt;Yuezhang.Mo@sony.com&gt;
Reviewed-by: Andy Wu &lt;Andy.Wu@sony.com&gt;
Reviewed-by: Aoyama Wataru &lt;wataru.aoyama@sony.com&gt;
Reviewed-by: Sungjong Seo &lt;sj1557.seo@samsung.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>exfat: add ioctls for accessing attributes</title>
<updated>2023-10-31T01:00:51Z</updated>
<author>
<name>Jan Cincera</name>
</author>
<published>2023-10-30T11:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ab8ba71868594acfc717b8c7d1738b9118118ec'/>
<id>urn:sha1:0ab8ba71868594acfc717b8c7d1738b9118118ec</id>
<content type='text'>
Add GET and SET attributes ioctls to enable attribute modification.
We already do this in FAT and a few userspace utils made for it would
benefit from this also working on exFAT, namely fatattr.

Signed-off-by: Jan Cincera &lt;hcincera@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>exfat: convert to new timestamp accessors</title>
<updated>2023-10-18T11:26:21Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2023-10-04T18:52:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c72a36edd54f59353cee00b31db46d196dfbd58'/>
<id>urn:sha1:4c72a36edd54f59353cee00b31db46d196dfbd58</id>
<content type='text'>
Convert to using the new inode timestamp accessor functions.

Signed-off-by: Jeff Layton &lt;jlayton@kernel.org&gt;
Link: https://lore.kernel.org/r/20231004185347.80880-31-jlayton@kernel.org
Signed-off-by: Christian Brauner &lt;brauner@kernel.org&gt;
</content>
</entry>
<entry>
<title>exfat: convert to ctime accessor functions</title>
<updated>2023-07-13T08:28:07Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2023-07-05T19:01:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f29f190828238d377b2bbffb1ce7a83c45fb2dd4'/>
<id>urn:sha1:f29f190828238d377b2bbffb1ce7a83c45fb2dd4</id>
<content type='text'>
In later patches, we're going to change how the inode's ctime field is
used. Switch to using accessor functions instead of raw accesses of
inode-&gt;i_ctime.

Signed-off-by: Jeff Layton &lt;jlayton@kernel.org&gt;
Reviewed-by: Jan Kara &lt;jack@suse.cz&gt;
Message-Id: &lt;20230705190309.579783-38-jlayton@kernel.org&gt;
Signed-off-by: Christian Brauner &lt;brauner@kernel.org&gt;
</content>
</entry>
<entry>
<title>exfat: fix inode-&gt;i_blocks for non-512 byte sector size device</title>
<updated>2023-02-27T12:14:45Z</updated>
<author>
<name>Yuezhang Mo</name>
</author>
<published>2023-01-04T06:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39c1ce8eafc0ff64fb9e28536ccc7df6a8e2999d'/>
<id>urn:sha1:39c1ce8eafc0ff64fb9e28536ccc7df6a8e2999d</id>
<content type='text'>
inode-&gt;i_blocks is not real number of blocks, but 512 byte ones.

Fixes: 98d917047e8b ("exfat: add file operations")
Cc: stable@vger.kernel.org # v5.7+
Reported-by: Wang Yugui &lt;wangyugui@e16-tech.com&gt;
Tested-by: Wang Yugui &lt;wangyugui@e16-tech.com&gt;
Signed-off-by: Yuezhang Mo &lt;Yuezhang.Mo@sony.com&gt;
Reviewed-by: Andy Wu &lt;Andy.Wu@sony.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'exfat-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat</title>
<updated>2022-12-16T02:14:21Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2022-12-16T02:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84e57d292203a45c96dbcb2e6be9dd80961d981a'/>
<id>urn:sha1:84e57d292203a45c96dbcb2e6be9dd80961d981a</id>
<content type='text'>
Pull exfat update from Namjae Jeon:

 - simplify and remove some redundant directory entry code

 - optimize the size of exfat_entry_set_cache and its allocation policy

 - improve the performance for creating files and directories

* tag 'exfat-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
  exfat: reuse exfat_find_location() to simplify exfat_get_dentry_set()
  exfat: fix overflow in sector and cluster conversion
  exfat: remove i_size_write() from __exfat_truncate()
  exfat: remove argument 'size' from exfat_truncate()
  exfat: remove unnecessary arguments from exfat_find_dir_entry()
  exfat: remove unneeded codes from __exfat_rename()
  exfat: remove call ilog2() from exfat_readdir()
  exfat: replace magic numbers with Macros
  exfat: rename exfat_free_dentry_set() to exfat_put_dentry_set()
  exfat: move exfat_entry_set_cache from heap to stack
  exfat: support dynamic allocate bh for exfat_entry_set_cache
  exfat: reduce the size of exfat_entry_set_cache
  exfat: hint the empty entry which at the end of cluster chain
  exfat: simplify empty entry hint
</content>
</entry>
<entry>
<title>extfat: remove -&gt;writepage</title>
<updated>2022-12-12T02:12:17Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2022-12-02T10:26:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a11774122180a782b327b0a9a5091d99c91a4db7'/>
<id>urn:sha1:a11774122180a782b327b0a9a5091d99c91a4db7</id>
<content type='text'>
Patch series "start removing writepage instances v2".

The VM doesn't need or want -&gt;writepage for writeback and is fine with
just having -&gt;writepages as long as -&gt;migrate_folio is implemented.

This series removes all -&gt;writepage instances that use
block_write_full_page directly and also have a plain mpage_writepages
based -&gt;writepages.


This patch (of 7):

-&gt;writepage is a very inefficient method to write back data, and only used
through write_cache_pages or a a fallback when no -&gt;migrate_folio method
is present.

Set -&gt;migrate_folio to the generic buffer_head based helper, and remove
the -&gt;writepage implementation.

Link: https://lkml.kernel.org/r/20221202102644.770505-1-hch@lst.de
Link: https://lkml.kernel.org/r/20221202102644.770505-2-hch@lst.de
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
Acked-by: Johannes Weiner &lt;hannes@cmpxchg.org&gt;
Cc: Bob Copeland &lt;me@bobcopeland.com&gt;
Cc: Dave Kleikamp &lt;shaggy@kernel.org&gt;
Cc: Jan Kara &lt;jack@suse.com&gt;
Cc: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Cc: OGAWA Hirofumi &lt;hirofumi@mail.parknet.co.jp&gt;
Cc: Sungjong Seo &lt;sj1557.seo@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>exfat: remove i_size_write() from __exfat_truncate()</title>
<updated>2022-12-12T02:02:51Z</updated>
<author>
<name>Yuezhang Mo</name>
</author>
<published>2022-03-28T08:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7cde96710a4362dca199458d3de04f631178453'/>
<id>urn:sha1:f7cde96710a4362dca199458d3de04f631178453</id>
<content type='text'>
The file/directory size is updated into inode by i_size_write()
before __exfat_truncate() is called, so it is redundant to
re-update by i_size_write() in __exfat_truncate().

Code refinement, no functional changes.

Signed-off-by: Yuezhang Mo &lt;Yuezhang.Mo@sony.com&gt;
Reviewed-by: Andy Wu &lt;Andy.Wu@sony.com&gt;
Reviewed-by: Aoyama Wataru &lt;wataru.aoyama@sony.com&gt;
Reviewed-by: Sungjong Seo &lt;sj1557.seo@samsung.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>exfat: remove argument 'size' from exfat_truncate()</title>
<updated>2022-12-12T02:02:51Z</updated>
<author>
<name>Yuezhang Mo</name>
</author>
<published>2022-11-17T02:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e981917b3fae689e9372647a38746444205bb905'/>
<id>urn:sha1:e981917b3fae689e9372647a38746444205bb905</id>
<content type='text'>
argument 'size' is not used in exfat_truncate(), remove it.

Code refinement, no functional changes.

Signed-off-by: Yuezhang Mo &lt;Yuezhang.Mo@sony.com&gt;
Reviewed-by: Andy Wu &lt;Andy.Wu@sony.com&gt;
Reviewed-by: Aoyama Wataru &lt;wataru.aoyama@sony.com&gt;
Reviewed-by: Sungjong Seo &lt;sj1557.seo@samsung.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>exfat: replace magic numbers with Macros</title>
<updated>2022-12-12T02:02:50Z</updated>
<author>
<name>Yuezhang Mo</name>
</author>
<published>2022-03-17T11:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3fe3954c09f97d8227d9d2edc807796a8b228ab'/>
<id>urn:sha1:f3fe3954c09f97d8227d9d2edc807796a8b228ab</id>
<content type='text'>
Code refinement, no functional changes.

Signed-off-by: Yuezhang Mo &lt;Yuezhang.Mo@sony.com&gt;
Reviewed-by: Andy Wu &lt;Andy.Wu@sony.com&gt;
Reviewed-by: Aoyama Wataru &lt;wataru.aoyama@sony.com&gt;
Reviewed-by: Sungjong Seo &lt;sj1557.seo@samsung.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
</feed>
