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-03-17 16:23:21 +05:30
2015-03-22 23:50:11 +01:00
2015-04-22 18:33:48 +03:00
2015-04-22 09:24:55 -07:00
2014-08-08 15:57:26 -07:00
2015-04-24 09:49:37 -07:00
2014-09-22 16:48:47 +09:00
2015-02-27 14:56:57 -07:00
2014-12-14 14:57:16 -08:00
2015-03-29 16:17:10 +01:00
2015-02-01 11:50:35 -08:00
2015-04-02 16:33:43 -04:00
2015-04-24 09:49:37 -07:00
2015-03-05 10:08:14 +01:00
2015-04-24 09:49:37 -07:00
2015-04-22 08:00:41 +10:00
2015-04-10 19:16:03 +01:00
2014-06-04 16:54:05 -07:00
2015-01-29 10:49:28 +02:00
2015-03-18 17:27:03 +01:00
2015-04-24 08:23:45 -07:00
2012-10-13 10:46:48 +01:00
2015-01-28 18:45:23 -05:00
2013-05-29 12:57:34 -07:00
2012-02-09 09:04:23 -08:00
2007-02-09 17:08:57 +00:00
2012-10-08 13:50:19 +10:30
2013-09-24 10:35:17 +01:00
2013-12-02 11:24:18 +00:00
2014-10-27 14:16:19 -04:00
2012-12-02 00:05:12 +00:00
2014-08-13 10:31:57 +02:00
2012-03-16 10:38:24 -04:00
2010-12-06 15:58:43 -05:00
2015-06-17 12:47:39 -06:00
2014-02-06 10:33:47 +01:00
2012-09-10 11:13:16 -07:00
2011-03-11 14:25:50 +00:00
2015-04-17 09:03:56 -04:00
2014-12-22 16:43:06 +00:00
2015-06-02 08:33:35 -06:00
2014-11-13 16:17:06 -08:00
2015-04-14 15:44:14 -04:00
2014-09-04 22:04:42 -04:00
2015-04-15 16:35:22 -07:00
2012-10-13 10:46:48 +01:00
2013-12-04 17:19:44 +01:00
2015-04-03 08:44:37 +02:00
2014-01-21 20:18:26 -08:00
2013-03-20 13:23:21 -04:00
2013-02-13 06:00:53 -08:00
2015-04-15 16:35:17 -07:00
2014-05-28 13:37:21 -07:00
2008-06-04 14:56:12 +01:00
2013-12-29 15:25:48 +01:00
2014-12-17 09:00:04 -04:00
2015-04-13 10:19:30 +02:00
2015-02-12 18:54:15 -08:00
2009-09-10 10:00:05 -07:00
2013-05-12 14:16:21 +02:00
2015-02-17 12:21:51 -05:00
2013-08-18 17:39:55 -07:00
2010-08-04 11:00:45 +02:00
2014-12-19 22:55:06 +01:00
2012-10-22 16:50:13 -07:00
2011-06-10 14:55:36 +02:00
2014-01-21 16:19:41 -08:00
2015-03-16 22:28:15 +05:30
2015-04-07 16:45:33 -07:00
2013-10-23 10:10:12 -07:00
2014-10-03 14:55:48 -07:00
2014-09-29 00:04:55 -04:00
2012-10-13 10:46:48 +01:00
2015-04-14 16:49:05 -07:00
2012-10-13 10:46:48 +01:00
2015-03-02 16:43:41 -05:00
2014-12-08 21:07:10 -05:00
2014-01-16 10:23:02 +10:30
2015-02-05 14:35:17 +01:00
2014-04-29 09:45:56 +09:00
2013-09-26 15:06:58 -07:00
2013-09-26 15:06:58 -07:00
2009-06-18 19:50:21 +08:00
2014-07-08 15:28:16 -07:00
2014-01-21 23:17:20 -08:00
2013-06-19 20:30:32 -07:00
2014-10-09 11:35:48 +03:00
2009-12-17 10:58:17 -05:00
2015-06-17 12:47:39 -06:00
2012-10-13 10:46:48 +01:00
2014-05-20 10:30:40 +09:00
2013-10-11 17:21:14 +11:00
2015-01-27 10:19:12 -02:00
2013-04-30 10:09:06 +02:00
2015-04-14 09:25:26 -07:00
2012-10-13 10:46:48 +01:00
2006-04-26 12:56:16 +01:00
2015-01-23 12:13:20 +01:00
2015-04-03 16:18:02 +02:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2014-09-04 22:26:14 -07:00
2008-08-02 18:36:10 +01:00
2014-09-09 10:28:43 -04:00
2015-03-05 09:23:12 +01:00
2012-11-10 00:40:24 -08:00
2014-11-17 23:12:01 -05:00
2015-04-08 23:28:28 +02:00
2012-10-09 16:22:40 +09:00
2012-03-20 12:47:48 +01:00
2012-12-09 00:20:28 -05:00
2014-01-27 21:02:39 -08:00
2014-12-11 15:04:06 -06:00
2015-03-23 22:12:08 -04:00
2015-04-21 09:44:55 -03:00
2012-10-13 10:46:48 +01:00
2015-04-17 09:03:55 -04:00
2014-10-14 15:05:34 -04:00
2010-03-15 15:29:39 +01:00
2013-08-28 21:35:14 -07:00
2012-10-13 10:46:48 +01:00
2009-04-06 16:06:26 +01:00
2015-04-13 16:42:16 -07:00
2015-01-25 23:16:29 -05:00
2013-03-22 22:17:36 -06:00
2014-10-08 10:39:41 +05:30
2014-03-18 19:19:41 -04:00
2014-04-16 15:09:51 -04:00
2014-10-22 16:14:04 -06:00
2015-04-14 16:49:05 -07:00
2015-03-25 11:44:52 +01:00
2015-03-31 12:04:12 +02:00
2015-03-12 18:46:08 -07:00
2014-10-14 02:18:28 +02:00
2012-10-08 13:50:21 +10:30
2014-01-27 21:02:39 -08:00
2013-06-26 12:10:56 +02:00
2015-02-01 23:16:33 -08:00
2015-04-29 14:59:16 -04:00
2014-01-25 03:14:05 -05:00
2015-04-14 16:48:59 -07:00
2012-12-11 17:22:27 -08:00
2015-03-09 23:50:20 -04:00
2015-03-13 09:45:24 -05:00
2013-10-30 12:02:58 +08:00
2014-01-23 16:36:55 -08:00
2012-10-13 10:46:48 +01:00
2013-03-01 23:51:07 -05:00
2014-11-21 11:19:15 -05:00
2015-01-25 23:17:28 -05:00
2015-03-16 23:49:03 +01:00
2013-03-07 12:35:51 +08:00
2015-03-18 15:54:27 +01:00
2012-10-13 10:46:48 +01:00
2013-10-17 00:36:06 +02:00
2012-10-13 10:46:48 +01:00
2013-08-19 21:22:34 -07:00
2011-03-31 11:26:23 -03:00
2015-03-31 12:01:19 -04:00
2008-09-02 19:21:38 -07:00
2014-08-24 18:36:01 -07:00
2010-02-10 17:47:17 -08:00
2014-06-25 11:22:03 -07:00
2012-05-17 15:18:37 +02:00
2015-01-15 23:34:34 -08:00
2015-01-27 13:13:04 +00:00
2013-04-30 17:04:09 -07:00
2014-07-08 13:41:08 -07:00
2014-10-20 10:11:29 +02:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2014-11-10 16:45:43 -05:00
2006-07-13 13:21:35 -07:00
2012-07-04 11:51:59 +03:00
2014-06-21 22:05:30 +02:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2015-04-15 09:00:47 -07:00
2015-02-13 21:21:39 -08:00
2015-02-12 18:54:09 -08:00
2015-04-20 09:08:49 -07:00
2015-04-11 15:53:35 -04:00
2015-03-03 11:16:47 -08:00
2008-05-26 16:15:32 +02:00
2015-04-14 09:50:27 -07:00
2006-12-07 02:14:08 +01:00
2010-08-09 16:48:44 -04:00
2013-10-09 12:40:45 +02:00
2015-04-16 19:02:04 -04:00
2015-02-13 21:21:35 -08:00
2009-04-10 15:48:52 +02:00
2013-04-30 15:50:12 +05:30
2015-02-13 23:49:36 +01:00
2005-04-16 15:20:36 -07:00
2015-01-27 09:38:00 +00:00
2015-04-17 09:04:07 -04:00
2012-09-13 16:47:34 +02:00
2013-12-07 01:03:14 +01:00
2007-02-09 16:23:15 +00:00
2014-06-04 16:53:56 -07:00
2015-04-03 08:18:34 +02:00
2012-08-21 16:28:31 +02:00
2014-07-18 11:49:57 +02:00
2012-10-09 16:22:32 +09:00
2014-10-09 22:25:51 -04:00
2013-03-15 00:36:09 -04:00
2014-11-19 22:01:15 -05:00
2014-08-06 13:03:43 +02:00
2014-02-12 15:00:34 -08:00
2005-04-16 15:20:36 -07:00
2011-06-15 20:04:00 -07:00
2005-04-16 15:20:36 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2015-03-12 18:46:08 -07:00
2014-06-04 16:53:57 -07:00
2015-02-02 10:09:54 -08:00
2012-10-13 10:46:48 +01:00
2015-03-09 09:22:28 -04:00
2015-06-02 08:40:20 -06:00
2013-07-12 12:07:46 +02:00
2015-02-12 18:54:12 -08:00