dlm: avoid scanning unchanged toss lists
authorDavid Teigland <teigland@redhat.com>
Mon, 7 Jan 2013 17:03:42 +0000 (11:03 -0600)
committerDavid Teigland <teigland@redhat.com>
Mon, 7 Jan 2013 18:02:49 +0000 (12:02 -0600)
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>

No differences found