GFS2: Implement a "rgrp has no extents longer than X" scheme
authorBob Peterson <rpeterso@redhat.com>
Mon, 25 Nov 2013 11:16:25 +0000 (11:16 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 3 Jan 2014 09:58:08 +0000 (09:58 +0000)
commit5ea5050cec9c02e86ceb5e707a889003f895a690
tree782554af83cacb80322874654782709dddd4174e
parent1330edbeaf304703052fb583dd660b96309e4536
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>
fs/gfs2/incore.h
fs/gfs2/lops.c
fs/gfs2/rgrp.c