diff options
author | David Teigland <teigland@redhat.com> | 2013-01-07 18:03:42 +0100 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2013-01-07 19:02:49 +0100 |
commit | f11722834605a155022a8098ad7d8adacf44b22f (patch) | |
tree | 9a2004fa6c4a925971c338db5af8f643a990f2d8 /fs/dlm/util.c | |
parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeu... (diff) | |
download | linux-f11722834605a155022a8098ad7d8adacf44b22f.tar.xz linux-f11722834605a155022a8098ad7d8adacf44b22f.zip |
dlm: avoid scanning unchanged toss lists
Keep track of whether a toss list contains any
shrinkable rsbs. If not, dlm_scand can avoid
scanning the list for rsbs to shrink. Unnecessary
scanning can otherwise waste a lot of time because
the toss lists can contain a large number of rsbs
that are non-shrinkable (directory records).
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/util.c')
0 files changed, 0 insertions, 0 deletions