commit | f11722834605a155022a8098ad7d8adacf44b22f | [log] [tgz] |
---|---|---|
author | David Teigland <teigland@redhat.com> | Mon Jan 07 11:03:42 2013 -0600 |
committer | David Teigland <teigland@redhat.com> | Mon Jan 07 12:02:49 2013 -0600 |
tree | 9a2004fa6c4a925971c338db5af8f643a990f2d8 | |
parent | 2318aa272072f6906de8e00a332da1485506b3c5 [diff] |
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>