Tejun Heo
46b15caa7c
vfs, writeback: replace FS_CGROUP_WRITEBACK with SB_I_CGROUPWB
...
FS_CGROUP_WRITEBACK indicates whether a file_system_type supports
cgroup writeback; however, different super_blocks of the same
file_system_type may or may not support cgroup writeback depending on
filesystem options. This patch replaces FS_CGROUP_WRITEBACK with a
per-super_block flag.
super_block->s_flags carries some internal flags in the high bits but
it's exposd to userland through uapi header and running out of space
anyway. This patch adds a new field super_block->s_iflags to carry
kernel-internal flags. It is currently only used by the new
SB_I_CGROUPWB flag whose concatenated and abbreviated name is for
consistency with other super_block flags.
ext2_fill_super() is updated to set SB_I_CGROUPWB.
v2: Added super_block->s_iflags instead of stealing another high bit
from sb->s_flags as suggested by Christoph and Jan.
Signed-off-by: Tejun Heo <tj@kernel.org >
Cc: Alexander Viro <viro@zeniv.linux.org.uk >
Cc: linux-fsdevel@vger.kernel.org
Cc: Christoph Hellwig <hch@infradead.org >
Cc: Jan Kara <jack@suse.cz >
Cc: linux-ext4@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Jens Axboe <axboe@fb.com >
2015-06-17 12:47:39 -06:00
..
2015-06-08 09:05:06 -06:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-22 08:58:55 -06:00
2015-04-15 15:06:59 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-01-18 01:03:45 -05:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-02-22 11:38:41 -05:00
2015-06-17 12:47:39 -06:00
2015-04-26 17:22:07 -07:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-04-15 15:06:57 -04:00
2014-10-13 17:52:21 +01:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2014-11-18 10:15:29 +01:00
2015-01-19 15:59:58 -05:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-21 16:16:02 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-06-02 08:33:34 -06:00
2015-04-26 17:22:07 -07:00
2015-05-19 09:17:03 -06:00
2015-03-12 18:46:08 -07:00
2015-04-15 15:06:57 -04:00
2015-06-02 08:33:34 -06:00
2015-04-15 15:06:57 -04:00
2015-03-18 10:29:48 +01:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-06-02 08:33:34 -06:00
2015-04-11 22:29:40 -04:00
2015-04-15 15:06:57 -04:00
2015-03-25 13:27:57 +01:00
2015-04-15 15:06:57 -04:00
2015-02-03 12:48:43 -05:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-04-16 23:27:56 -04:00
2015-02-20 04:03:58 -05:00
2014-11-19 13:01:20 -05:00
2014-10-09 02:39:00 -04:00
2015-04-14 16:49:05 -07:00
2014-12-13 12:42:51 -08:00
2015-04-26 17:22:07 -07:00
2014-12-13 12:42:51 -08:00
2015-06-02 08:33:34 -06:00
2015-06-02 09:22:34 -06:00
2015-01-20 14:02:58 -07:00
2015-04-03 23:21:34 +02:00
2014-10-31 17:48:54 -04:00
2015-04-11 22:29:39 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:05:28 -04:00
2015-04-24 15:45:28 -04:00
2015-02-12 18:54:09 -08:00
2015-02-17 14:34:52 -08:00
2015-02-13 21:21:40 -08:00
2015-04-19 13:46:21 -07:00
2015-01-08 15:10:52 -08:00
2015-04-11 22:29:43 -04:00
2015-04-17 09:04:07 -04:00
2015-04-09 11:39:55 -05:00
2015-06-17 12:47:37 -06:00
2015-06-02 08:33:35 -06:00
2015-02-22 11:38:42 -05:00
2015-02-10 14:30:30 -08:00
2015-04-10 15:08:35 -07:00
2015-04-14 16:49:05 -07:00
2015-04-15 15:06:58 -04:00
2015-04-17 09:04:12 -04:00
2015-04-14 10:22:29 -07:00
2015-01-25 23:17:29 -05:00
2015-06-02 08:40:20 -06:00
2015-04-24 15:52:14 -04:00
2015-04-09 11:39:57 -05:00
2015-04-15 15:06:58 -04:00
2015-04-24 07:08:41 -07:00
2015-04-15 15:06:58 -04:00
2015-04-02 20:34:20 -05:00
2015-04-09 11:39:55 -05:00
2015-04-15 15:06:59 -04:00
2015-02-05 02:45:00 -05:00
2015-04-11 22:29:46 -04:00
2014-10-31 17:48:54 -04:00
2015-02-12 18:54:12 -08:00
2015-02-13 21:21:39 -08:00
2014-11-05 14:13:23 -05:00
2015-04-15 16:35:20 -07:00
2015-04-15 15:06:59 -04:00
2015-04-14 16:49:03 -07:00
2015-02-05 02:45:00 -05:00
2014-11-05 14:13:23 -05:00
2014-11-19 13:01:26 -05:00