Konstantin Belousov 106ebb761a Optimize vop_stdadvise(POSIX_FADV_DONTNEED). Instead of looking up a
buffer for each block number in the range with gbincore(), look up the
next instantiated buffer with the logical block number which is
greater or equal to the next lblkno.  This significantly speeds up the
iteration for sparce-populated range.

Move the iteration into new helper bnoreuselist(), which is structured
similarly to flushbuflist().

Reported and tested by:	pho
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
2015-12-16 08:48:37 +00:00
..
2015-07-20 09:37:42 +00:00
2015-04-22 14:38:58 +00:00
2015-12-13 11:30:36 +00:00
2015-12-13 11:30:36 +00:00
2015-01-22 11:12:42 +00:00
2015-06-30 17:00:45 +00:00
2015-11-19 05:50:22 +00:00
2014-08-11 15:06:07 +00:00
2015-01-22 11:12:42 +00:00
2015-07-29 17:18:27 +00:00
2015-07-11 15:22:11 +00:00
2015-07-11 15:22:11 +00:00
2015-06-10 10:48:12 +00:00
2015-03-17 14:16:50 +00:00
2015-08-01 07:21:14 +00:00