Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jens Axboe <jens.axboe@...>
Cc: Andrew Morton <akpm@...>, Rik van Riel <riel@...>, Lee Schermerhorn <lee.schermerhorn@...>, Pavel Machek <pavel@...>, <mtk.manpages@...>, kernel list <linux-kernel@...>, Rafael J. Wysocki <rjw@...>
Date: Monday, June 2, 2008 - 8:40 am

On Mon, 2 Jun 2008, Jens Axboe wrote:

Interesting.  I wonder.  I may be quite wrong (Cc'ed Rik and Lee
who I think are currently most in touch with what goes on there),
but my impression is that whereas vmscan.c takes pages off LRU
while it's doing writeback on them, and arranges for them to go
back to the reclaimable tail of the LRU once writeback completes
(the rotate reclaimable business), pages under writeback which
it did not itself initiate will get put back on LRU at the head
(with write completion still pending).

If unbounded queues turn out to be viable in other respects
(which would be very attractive for SYNC_PAGE_RANGE_WRITE), even
if not, then maybe shrink_page_list needs to be able to take pages
already under Writeback off the LRU and set them Reclaimable.

Hugh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Pavel Machek, (Fri May 30, 6:26 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Hugh Dickins, (Fri May 30, 9:58 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Pavel Machek, (Fri May 30, 4:43 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Hugh Dickins, (Sat May 31, 2:44 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Andrew Morton, (Sat May 31, 8:39 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Hugh Dickins, (Sun Jun 1, 3:23 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Andrew Morton, (Sun Jun 1, 4:15 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Pavel Machek, (Sun Jun 1, 7:40 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Michael Kerrisk, (Tue Jun 3, 4:01 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Pavel Machek, (Tue Jun 3, 4:05 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Andrew Morton, (Sun Jun 1, 4:37 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Jens Axboe, (Mon Jun 2, 7:43 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Andrew Morton, (Mon Jun 2, 12:50 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Hugh Dickins, (Mon Jun 2, 8:40 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Rik van Riel, (Mon Jun 16, 4:53 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Andrew Morton, (Tue Jun 17, 12:54 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Rik van Riel, (Tue Jun 17, 9:38 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Pavel Machek, (Sun Jun 1, 6:22 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Andrew Morton, (Sun Jun 1, 6:47 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Pavel Machek, (Sun Jun 1, 7:00 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Andrew Morton, (Sun Jun 1, 7:11 pm)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Hugh Dickins, (Mon Jun 2, 4:43 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Rafael J. Wysocki, (Mon Jun 2, 7:18 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Hugh Dickins, (Mon Jun 2, 8:11 am)
Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?, Rafael J. Wysocki, (Sun Jun 1, 6:00 pm)