diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-12-21 12:06:05 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2010-12-21 12:06:05 +1100 |
commit | 663e496a720a3a9fc08ea70b29724e8906b34e43 (patch) | |
tree | 76372cb50ea4be7b12fae3d531b49f3a1fb7b57c /lib/locking-selftest-rlock-softirq.h | |
parent | 3f336c6fa17c2b3d14b3dd1bd6e64e9cc97b6359 (diff) | |
download | talos-op-linux-663e496a720a3a9fc08ea70b29724e8906b34e43.tar.gz talos-op-linux-663e496a720a3a9fc08ea70b29724e8906b34e43.zip |
xfs: rework log grant space calculations
The log grant space calculations are repeated for both write and
reserve grant heads. To make it simpler to convert the calculations
toa different algorithm, factor them so both the gratn heads use the
same calculation functions. Once this is done we can drop the
wrappers that are used in only a couple of place to update both
grant heads at once as they don't provide any particular value.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions