summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-09 18:48:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-09 18:48:51 -0400
commit53accfa9f819c80056db6f03f9c5cfa4bcba1ed8 (patch)
treea68dcd8ea8d286e07d31d4541311819a0082f78c /fs/nfs
parent3212a80a58062056bb922811071062be58d8fee1 (diff)
downloadop-kernel-dev-53accfa9f819c80056db6f03f9c5cfa4bcba1ed8.zip
op-kernel-dev-53accfa9f819c80056db6f03f9c5cfa4bcba1ed8.tar.gz
ext4: teach mballoc preallocation code about bigalloc clusters
In most of mballoc.c, we do everything in units of clusters, since the block allocation bitmaps and buddy bitmaps are all denominated in clusters. The one place where we do deal with absolute block numbers is in the code that handles the preallocation regions, since in the case of inode-based preallocation regions, the start of the preallocation region can't be relative to the beginning of the group. So this adds a bit of complexity, where pa_pstart and pa_lstart are block numbers, while pa_free, pa_len, and fe_len are denominated in units of clusters. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud