Mark Fasheh
73c8a80003
ocfs2: clean up localalloc mount option size parsing
...
This patch pulls the local alloc sizing code into localalloc.c and provides
a callout to it from ocfs2_fill_super(). Behavior is essentially unchanged
except that I correctly calculate the maximum local alloc size. The old code
in ocfs2_parse_options() calculated the max size as:
ocfs2_local_alloc_size(sb) * 8
which is correct, in bits. Unfortunately though the option passed in is in
megabytes. Ultimately, this bug made no real difference - the shrink code
would catch a too-large size and bring it down to something reasonable.
Still, it's less than efficient as-is.
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-05-05 18:18:06 -07:00
..
2010-05-05 18:17:30 -07:00
2010-02-26 15:41:19 -08:00
2010-02-27 19:57:07 -08:00
2010-03-17 12:28:22 -07:00
2009-10-28 23:05:57 -07:00
2010-05-05 18:17:30 -07:00
2009-12-02 16:14:57 -08:00
2010-05-05 18:17:30 -07:00
2009-09-22 20:09:36 -07:00
2009-12-04 15:39:50 +01:00
2009-06-03 19:15:36 -07:00
2010-01-25 19:20:51 -08:00
2009-09-04 16:07:48 -07:00
2009-08-27 18:10:54 -07:00
2009-07-21 15:47:55 -07:00
2010-05-05 18:17:30 -07:00
2009-04-03 11:39:16 -07:00
2010-03-08 16:55:37 +01:00
2009-09-22 20:09:28 -07:00
2010-01-25 19:20:51 -08:00
2007-10-22 08:13:21 -07:00
2010-03-08 16:55:37 +01:00
2009-09-22 20:09:39 -07:00
2010-05-05 18:17:30 -07:00
2009-09-22 20:09:37 -07:00
2008-04-18 08:56:04 -07:00
2008-04-18 08:56:04 -07:00
2010-05-05 18:17:30 -07:00
2010-05-05 18:17:30 -07:00
2010-02-02 18:56:37 -08:00
2010-03-02 14:10:20 -08:00
2010-05-05 18:17:29 -07:00
2010-05-05 18:17:29 -07:00
2009-10-28 23:05:57 -07:00
2010-05-05 18:18:06 -07:00
2010-05-05 18:18:06 -07:00
2010-03-17 12:07:16 -07:00
2008-10-13 13:57:57 -07:00
2010-05-05 18:17:30 -07:00
2009-09-27 11:39:25 -07:00
2010-05-05 18:17:29 -07:00
2009-09-22 20:09:48 -07:00
2008-02-03 17:33:42 +02:00
2010-03-02 14:10:20 -08:00
2010-03-02 14:10:20 -08:00
2009-09-22 20:09:28 -07:00
2010-02-26 15:41:18 -08:00
2010-05-05 18:18:06 -07:00
2010-05-05 18:17:29 -07:00
2010-05-05 18:17:29 -07:00
2009-12-10 15:02:53 +01:00
2010-05-05 18:17:29 -07:00
2009-09-22 20:09:51 -07:00
2010-05-05 18:17:30 -07:00
2010-05-05 18:17:30 -07:00
2010-05-05 18:17:29 -07:00
2008-01-25 15:04:24 -08:00
2009-09-04 16:07:48 -07:00
2008-04-18 08:56:03 -07:00
2010-02-26 15:41:16 -08:00
2010-02-26 15:41:16 -08:00
2010-02-26 15:41:18 -08:00
2010-02-26 15:41:18 -08:00
2010-05-05 18:17:31 -07:00
2010-05-05 18:17:30 -07:00
2010-05-05 18:18:06 -07:00
2007-08-09 17:25:07 -07:00
2010-01-11 15:38:50 -08:00
2009-06-22 14:34:29 -07:00
2010-01-25 19:20:51 -08:00
2009-09-04 16:07:50 -07:00
2008-01-25 15:05:46 -08:00
2010-05-05 18:17:29 -07:00
2009-10-28 23:05:57 -07:00