<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ext4/ioctl.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-08-06T05:00:49Z</updated>
<entry>
<title>ext4, project: expand inode extra size if possible</title>
<updated>2017-08-06T05:00:49Z</updated>
<author>
<name>Miao Xie</name>
</author>
<published>2017-08-06T05:00:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c03b45b853f5829816d871283c792e7527a7ded1'/>
<id>urn:sha1:c03b45b853f5829816d871283c792e7527a7ded1</id>
<content type='text'>
When upgrading from old format, try to set project id
to old file first time, it will return EOVERFLOW, but if
that file is dirtied(touch etc), changing project id will
be allowed, this might be confusing for users, we could
try to expand @i_extra_isize here too.

Reported-by: Zhang Yi &lt;yi.zhang@huawei.com&gt;
Signed-off-by: Miao Xie &lt;miaoxie@huawei.com&gt;
Signed-off-by: Wang Shilong &lt;wshilong@ddn.com&gt;
Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
</content>
</entry>
<entry>
<title>ext4: convert swap_inode_data() over to use swap() on most of the fields</title>
<updated>2017-07-31T04:55:34Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2017-07-31T04:55:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02'/>
<id>urn:sha1:9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02</id>
<content type='text'>
For some odd reason, it forces a byte-by-byte copy of each field. A
plain old swap() on most of these fields would be more efficient. We
do need to retain the memswap of i_data however as that field is an array.

Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Reviewed-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>quota: add get_inode_usage callback to transfer multi-inode charges</title>
<updated>2017-06-22T15:46:48Z</updated>
<author>
<name>Tahsin Erdogan</name>
</author>
<published>2017-06-22T15:46:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a9ca53aea10ad4677a0f347ad7639c304b80194'/>
<id>urn:sha1:7a9ca53aea10ad4677a0f347ad7639c304b80194</id>
<content type='text'>
Ext4 ea_inode feature allows storing xattr values in external inodes to
be able to store values that are bigger than a block in size. Ext4 also
has deduplication support for these type of inodes. With deduplication,
the actual storage waste is eliminated but the users of such inodes are
still charged full quota for the inodes as if there was no sharing
happening in the background.

This design requires ext4 to manually charge the users because the
inodes are shared.

An implication of this is that, if someone calls chown on a file that
has such references we need to transfer the quota for the file and xattr
inodes. Current dquot_transfer() function implicitly transfers one inode
charge. With ea_inode feature, we would like to transfer multiple inode
charges.

Add get_inode_usage callback which can interrogate the total number of
inodes that were charged for a given inode.

[ Applied fix from Colin King to make sure the 'ret' variable is
  initialized on the successful return path.  Detected by
  CoverityScan, CID#1446616 ("Uninitialized scalar variable") --tytso]

Signed-off-by: Tahsin Erdogan &lt;tahsin@google.com&gt;
Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Acked-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>ext4: add ext4_is_quota_file()</title>
<updated>2017-06-22T15:31:25Z</updated>
<author>
<name>Tahsin Erdogan</name>
</author>
<published>2017-06-22T15:31:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02749a4c20827649859bf7e2435f1b238c24f935'/>
<id>urn:sha1:02749a4c20827649859bf7e2435f1b238c24f935</id>
<content type='text'>
IS_NOQUOTA() indicates whether quota is disabled for an inode. Ext4
also uses it to check whether an inode is for a quota file. The
distinction currently doesn't matter because quota is disabled only
for the quota files. When we start disabling quota for other inodes
in the future, we will want to make the distinction clear.

Replace IS_NOQUOTA() call with ext4_is_quota_file() at places where
we are checking for quota files.

Signed-off-by: Tahsin Erdogan &lt;tahsin@google.com&gt;
Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4</title>
<updated>2017-05-08T18:30:05Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2017-05-08T18:30:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd727dad37297f497dc69ac00182abf9651e7b6c'/>
<id>urn:sha1:dd727dad37297f497dc69ac00182abf9651e7b6c</id>
<content type='text'>
Pull ext4 updates from Ted Ts'o:

 - add GETFSMAP support

 - some performance improvements for very large file systems and for
   random write workloads into a preallocated file

 - bug fixes and cleanups.

* tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
  jbd2: cleanup write flags handling from jbd2_write_superblock()
  ext4: mark superblock writes synchronous for nobarrier mounts
  ext4: inherit encryption xattr before other xattrs
  ext4: replace BUG_ON with WARN_ONCE in ext4_end_bio()
  ext4: avoid unnecessary transaction stalls during writeback
  ext4: preload block group descriptors
  ext4: make ext4_shutdown() static
  ext4: support GETFSMAP ioctls
  vfs: add common GETFSMAP ioctl definitions
  ext4: evict inline data when writing to memory map
  ext4: remove ext4_xattr_check_entry()
  ext4: rename ext4_xattr_check_names() to ext4_xattr_check_entries()
  ext4: merge ext4_xattr_list() into ext4_listxattr()
  ext4: constify static data that is never modified
  ext4: trim return value and 'dir' argument from ext4_insert_dentry()
  jbd2: fix dbench4 performance regression for 'nobarrier' mounts
  jbd2: Fix lockdep splat with generic/270 test
  mm: retry writepages() on ENOMEM when doing an data integrity writeback
</content>
</entry>
<entry>
<title>ext4: make ext4_shutdown() static</title>
<updated>2017-04-30T04:40:44Z</updated>
<author>
<name>Eric Biggers</name>
</author>
<published>2017-04-30T04:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a20a63084be8fc5b0c1191231dfd311f7fc2afa'/>
<id>urn:sha1:1a20a63084be8fc5b0c1191231dfd311f7fc2afa</id>
<content type='text'>
Make the ext4_shutdown() function static, as suggested by running sparse
('make C=2 fs/ext4/').  This was the only such warning in fs/ext4/.

Signed-off-by: Eric Biggers &lt;ebiggers@google.com&gt;
Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
</content>
</entry>
<entry>
<title>ext4: support GETFSMAP ioctls</title>
<updated>2017-04-30T04:36:53Z</updated>
<author>
<name>Darrick J. Wong</name>
</author>
<published>2017-04-30T04:36:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c9ec4beecac94cb450c8abb2ac8b7e8a79240ea'/>
<id>urn:sha1:0c9ec4beecac94cb450c8abb2ac8b7e8a79240ea</id>
<content type='text'>
Support the GETFSMAP ioctls so that we can use the xfs free space
management tools to probe ext4 as well.  Note that this is a partial
implementation -- we only report fixed-location metadata and free space;
everything else is reported as "unknown".

Signed-off-by: Darrick J. Wong &lt;darrick.wong@oracle.com&gt;
Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
</content>
</entry>
<entry>
<title>ext4: Remove ext4_get_inode_flags()</title>
<updated>2017-04-19T12:21:23Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2017-04-06T13:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38eae95ddc1964b42fc6d313a1bd17c43e3d08f1'/>
<id>urn:sha1:38eae95ddc1964b42fc6d313a1bd17c43e3d08f1</id>
<content type='text'>
Now that all places setting inode-&gt;i_flags that should be reflected in
on-disk flags are gone, we can remove ext4_get_inode_flags() call.

Reviewed-by: Andreas Dilger &lt;adilger@dilger.ca&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>ext4: rename EXT4_IOC_GOINGDOWN to EXT4_IOC_SHUTDOWN</title>
<updated>2017-02-20T20:34:59Z</updated>
<author>
<name>Theodore Ts'o</name>
</author>
<published>2017-02-20T20:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9be2ac7c09cabcbbbb12b0869e49b7a715d6fb5'/>
<id>urn:sha1:e9be2ac7c09cabcbbbb12b0869e49b7a715d6fb5</id>
<content type='text'>
It's very likely the file system independent ioctl name will be
FS_IOC_SHUTDOWN, so let's use the same name for the ext4 ioctl name.

Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
</content>
</entry>
<entry>
<title>ext4: add EXT4_IOC_GOINGDOWN ioctl</title>
<updated>2017-02-06T00:47:14Z</updated>
<author>
<name>Theodore Ts'o</name>
</author>
<published>2017-02-06T00:47:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=783d948544993f55bdacc78b127532e8b6e2fc9f'/>
<id>urn:sha1:783d948544993f55bdacc78b127532e8b6e2fc9f</id>
<content type='text'>
This ioctl is modeled after the xfs's XFS_IOC_GOINGDOWN ioctl.  (In
fact, it uses the same code points.)

Signed-off-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
</content>
</entry>
</feed>
