diff options
author | Bob Peterson <rpeterso@redhat.com> | 2013-11-25 11:16:25 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-01-03 09:58:08 +0000 |
commit | 5ea5050cec9c02e86ceb5e707a889003f895a690 (patch) | |
tree | 782554af83cacb80322874654782709dddd4174e /fs/gfs2/lops.c | |
parent | 1330edbeaf304703052fb583dd660b96309e4536 (diff) | |
download | linux-stable-5ea5050cec9c02e86ceb5e707a889003f895a690.tar.gz linux-stable-5ea5050cec9c02e86ceb5e707a889003f895a690.tar.bz2 linux-stable-5ea5050cec9c02e86ceb5e707a889003f895a690.zip |
GFS2: Implement a "rgrp has no extents longer than X" scheme
With the preceding patch, we started accepting block reservations
smaller than the ideal size, which requires a lot more parsing of the
bitmaps. To reduce the amount of bitmap searching, this patch
implements a scheme whereby each rgrp keeps track of the point
at this multi-block reservations will fail.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r-- | fs/gfs2/lops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index 010b9fb9fec6..cdadb92372f2 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c @@ -83,6 +83,7 @@ static void maybe_release_space(struct gfs2_bufdata *bd) bd->bd_bh->b_data + bi->bi_offset, bi->bi_len); clear_bit(GBF_FULL, &bi->bi_flags); rgd->rd_free_clone = rgd->rd_free; + rgd->rd_extfail_pt = rgd->rd_free; } /** |