diff options
author | Bob Peterson <rpeterso@redhat.com> | 2013-11-25 15:16:25 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-01-03 13:58:08 +0400 |
commit | 5ea5050cec9c02e86ceb5e707a889003f895a690 (patch) | |
tree | 782554af83cacb80322874654782709dddd4174e /fs/gfs2/lops.c | |
parent | 1330edbeaf304703052fb583dd660b96309e4536 (diff) | |
download | linux-5ea5050cec9c02e86ceb5e707a889003f895a690.tar.xz |
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; } /** |