diff options
author | Joel Becker <joel.becker@oracle.com> | 2010-03-26 10:08:27 +0800 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-03-26 10:08:27 +0800 |
commit | 13e434cf0cacd2f03a7f4cd077e3e995ef5ef710 (patch) | |
tree | e13c0131deb1409c4445242cef52c5fda97a170f /fs/ocfs2/suballoc.h | |
parent | aa8f8e93c898a0319bcd6c79a9a42fe52abac7d7 (diff) | |
download | linux-3.10-13e434cf0cacd2f03a7f4cd077e3e995ef5ef710.tar.gz linux-3.10-13e434cf0cacd2f03a7f4cd077e3e995ef5ef710.tar.bz2 linux-3.10-13e434cf0cacd2f03a7f4cd077e3e995ef5ef710.zip |
ocfs2: Trim suballocations if they cross discontiguous regions
A discontiguous block group can find a range of free bits that straddle
more than one region of its space. Callers can't handle that, so we
trim the returned bits until they fit within one region.
Only cluster allocations ask for min_bits>1. Discontiguous block groups
are only for block allocations. So min_bits doesn't matter here.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/suballoc.h')
0 files changed, 0 insertions, 0 deletions