linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFC: remove CONFIG_EXT4_FS_XATTR
@ 2012-12-05 22:35 Theodore Ts'o
  2012-12-05 23:04 ` Eric Sandeen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Theodore Ts'o @ 2012-12-05 22:35 UTC (permalink / raw)
  To: linux-ext4; +Cc: Tao Ma


The number of build warnings that were generated with the inline data
patch makes me think that perhaps we should just remove
CONFIG_EXT4_FS_XATTR.  Turning off CONFIG_EXT4_FS_XATTR causes a net
decrease in the ext4 file system by 27k (about 7.3% if ext4 is built as
a module; the entire compiled kernel's text+data size for my
all-in-one-no-modules-for-kvm-testing is 19 megabytes).

Another advantage of making this change is with the inline data option,
if you turn off CONFIG_EXT4_FS_XATTR, it will still allow a file system
with inline_data to be mounted, but then attempts to read small files or
small directories will end up returning EOPNOTSUPP, which will be
surprising to end users in a very serious way.  (Assuming it works at
all; I haven't tested to make sure it fails cleanly, and I'm not sure
Tao has tested that case either; so easing our test matrix is another
reason why removing this config option would be helpful.)

Does anyone have any objections or other reasons why this would be a bad
idea?

                                                - Ted





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-12-10 19:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 22:35 RFC: remove CONFIG_EXT4_FS_XATTR Theodore Ts'o
2012-12-05 23:04 ` Eric Sandeen
2012-12-06  1:33 ` Tao Ma
2012-12-06  3:48   ` Theodore Ts'o
2012-12-06 19:28     ` David Brown
2012-12-06 10:26   ` Jan Kara
2012-12-10  6:19 ` [PATCH] ext4: Remove CONFIG_EXT4_FS_XATTR Tao Ma
2012-12-10 10:08   ` Jan Kara
2012-12-10 15:11   ` [PATCH V2] " Tao Ma
2012-12-10 19:21   ` [PATCH] " Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).