diff options
author | Tao Ma <[email protected]> | 2010-06-09 16:43:05 +0800 |
---|---|---|
committer | Joel Becker <[email protected]> | 2010-06-15 16:50:43 -0700 |
commit | 1739da40543ed2129050ccfa8a076a851ab6ed00 (patch) | |
tree | 43c58012649437dba6383411eb50c2031ad42050 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 40f165f416bde747d85cdf71bc9dde700912f71f (diff) |
ocfs2: Limit default local alloc size within bitmap range.
In commit 6b82021b9e91cd689fdffadbcdb9a42597bbe764, we increase
our local alloc size and calculate how much megabytes we can
get according to group size and volume size.
But we also need to check the maximum bits a local alloc block
bitmap can have. With a bs=512, cs=32K, local volume with 160G,
it calculate 96MB while the maximum local alloc size is only
76M. So the bitmap will overflow and corrupt the system truncate
log file. See bug
http://oss.oracle.com/bugzilla/show_bug.cgi?id=1262
Signed-off-by: Tao Ma <[email protected]>
Acked-by: Mark Fasheh <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions