Dave Chinner
cffbc8aa33
fs: Convert nr_inodes and nr_unused to per-cpu counters
...
The number of inodes allocated does not need to be tied to the
addition or removal of an inode to/from a list. If we are not tied
to a list lock, we could update the counters when inodes are
initialised or destroyed, but to do that we need to convert the
counters to be per-cpu (i.e. independent of a lock). This means that
we have the freedom to change the list/locking implementation
without needing to care about the counters.
Based on a patch originally from Eric Dumazet.
[AV: cleaned up a bit, fixed build breakage on weird configs
Signed-off-by: Dave Chinner <dchinner@redhat.com >
Reviewed-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2010-10-25 21:26:09 -04:00
..
2010-10-22 15:34:13 -05:00
2010-10-15 15:53:27 +02:00
2010-10-12 21:59:55 +02:00
2010-10-17 01:57:50 +02:00
2010-09-09 20:48:37 +02:00
2010-10-24 13:41:39 -07:00
2010-08-09 16:48:42 -04:00
2010-07-14 11:29:46 +02:00
2010-07-28 10:18:55 -04:00
2010-08-12 14:23:04 -07:00
2010-08-10 11:39:13 -07:00
2010-07-28 09:58:19 -04:00
2010-07-28 09:58:17 -04:00
2010-08-11 00:28:20 -04:00
2010-04-02 20:12:00 +02:00
2010-05-10 23:18:47 +02:00
2010-10-22 10:52:01 -07:00
2010-09-14 16:08:45 -07:00
2010-10-15 15:53:27 +02:00
2010-06-08 21:40:36 +02:00
2010-10-21 10:12:44 +11:00
2010-08-12 09:51:35 -07:00
2010-03-06 11:26:46 -08:00
2010-08-09 20:45:05 -07:00
2010-09-09 21:07:09 +02:00
2010-09-22 17:22:39 -07:00
2010-09-18 12:19:21 +02:00
2010-10-21 14:06:17 -07:00
2010-09-09 18:57:24 -07:00
2010-10-14 13:29:59 +02:00
2010-08-17 09:11:52 +02:00
2010-10-18 19:58:55 +02:00
2010-10-18 19:58:50 +02:00
2010-09-22 16:30:46 -04:00
2010-05-20 21:04:21 -05:00
2010-08-11 08:59:22 -07:00
2010-10-01 10:50:58 -07:00
2010-08-17 18:07:43 -07:00
2010-10-22 10:52:56 -07:00
2010-05-21 09:37:31 -07:00
2010-06-29 10:07:09 +02:00
2010-03-30 22:02:32 +09:00
2010-05-04 05:38:16 +02:00
2010-04-06 00:15:37 +02:00
2010-10-18 18:44:26 +02:00
2010-10-21 18:52:11 -07:00
2010-10-08 10:46:27 +02:00
2010-09-03 08:19:51 +02:00
2010-02-25 10:34:26 +01:00
2010-03-30 22:02:32 +09:00
2010-08-04 15:23:14 -07:00
2010-08-11 08:59:22 -07:00
2010-08-11 23:04:20 +09:30
2010-10-21 12:54:49 -07:00
2010-03-30 22:02:32 +09:00
2010-08-19 17:18:02 -07:00
2010-10-24 13:41:39 -07:00
2010-08-10 12:07:51 -07:00
2010-07-23 15:08:12 +02:00
2010-10-12 17:36:10 +02:00
2010-10-15 15:53:27 +02:00
2010-08-11 08:59:19 -07:00
2010-08-09 20:45:06 -07:00
2010-10-07 09:43:11 +02:00
2010-08-27 10:51:17 -07:00
2010-08-20 08:55:00 -07:00
2010-09-23 09:16:42 -07:00
2010-09-02 16:15:30 -07:00
2010-09-23 09:16:53 -07:00
2010-10-07 10:41:06 -07:00
2010-09-23 09:16:53 -07:00
2010-05-27 09:12:48 -07:00
2010-03-30 22:02:32 +09:00
2010-05-11 12:01:10 -07:00
2010-10-19 11:29:56 +02:00
2010-06-09 10:34:49 +02:00
2010-07-17 12:06:22 +02:00
2010-07-17 12:06:22 +02:00
2010-07-21 21:46:12 +02:00
2010-10-21 12:55:43 -07:00
2010-10-18 20:52:27 +02:00
2010-04-23 11:02:02 +02:00
2010-10-18 20:52:26 +02:00
2010-06-18 10:46:56 +02:00
2010-10-18 18:41:58 +02:00
2010-10-21 12:55:43 -07:00
2010-10-07 09:41:25 +02:00
2010-09-10 16:48:40 +02:00
2010-10-23 08:25:36 -07:00
2010-09-23 09:14:51 -07:00
2010-10-18 18:41:58 +02:00
2010-09-23 17:03:55 +10:00
2010-08-31 17:00:18 -07:00
2010-05-25 08:07:05 -07:00
2010-10-15 14:42:24 -07:00
2010-10-25 21:26:09 -04:00
2010-03-30 22:02:32 +09:00
2010-10-14 08:55:27 +02:00
2010-07-27 12:40:54 +02:00
2010-10-18 19:58:50 +02:00
2010-10-18 19:58:56 +02:00
2010-03-06 11:26:23 -08:00
2010-06-16 14:55:34 -07:00
2010-05-10 08:48:39 +02:00
2010-10-21 12:54:49 -07:00
2010-06-29 10:07:14 +02:00
2010-10-19 11:28:15 +02:00