diff options
author | 2013-12-12 17:29:32 +0000 | |
---|---|---|
committer | 2014-01-14 19:28:49 +0000 | |
commit | ee2411a8db49a21bc55dc124e1b434ba194c8903 (patch) | |
tree | 041c3d21230183753963de71930d39b6d0919328 /fs/gfs2/ops_fstype.c | |
parent | GFS2: Only run logd and quota when mounted read/write (diff) | |
download | linux-dev-ee2411a8db49a21bc55dc124e1b434ba194c8903.tar.xz linux-dev-ee2411a8db49a21bc55dc124e1b434ba194c8903.zip |
GFS2: Clean up quota slot allocation
Quota slot allocation has historically used a vector of pages
and a set of homegrown find/test/set/clear bit functions. Since
the size of the bitmap is likely to be based on the default
qc file size, thats a couple of pages at most. So we ought
to be able to allocate that as a single chunk, with a vmalloc
fallback, just in case of memory fragmentation.
We are then able to use the kernel's own find/test/set/clear
bit functions, rather than rolling our own.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Abhijith Das <adas@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_fstype.c')
0 files changed, 0 insertions, 0 deletions