Re: [PATCH 00/31] Swap over NFS -v20

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neil Brown
Date: Thursday, October 1, 2009 - 10:52 pm

On Thursday October 1, hch@infradead.org wrote:

Do you have a problem with the proposed address_space operations apart
from their names including the word "swap"?  Would something like:
  direct_on, direct_off, direct_read, direct_write
be better.
Semantics being that the read and write:
  - bypass the page cache (invalidation is up to caller)
  - must not make a blocking non-emergency memory allocation
direct_on does any pre-allocation and pre-reading to ensure those
semantics and be provided.

I have wondered if an extra flag along the lines of "I don't care
about this data after a crash" would be useful.
It would be set for swap, but not set for other users.  Thus
e.g. RAID1 could easily avoid resyncing an area that was used only for
swap.

The only thing of Jens' that I could find used bmap - is there
something more recent I should look for?


100% agree.

Thanks,
NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/31] Swap over NFS -v20, Suresh Jayaraman, (Thu Oct 1, 7:04 am)
Re: [PATCH 00/31] Swap over NFS -v20, Christoph Hellwig, (Thu Oct 1, 10:42 am)
Re: [PATCH 00/31] Swap over NFS -v20, Neil Brown, (Thu Oct 1, 10:52 pm)
Re: [PATCH 00/31] Swap over NFS -v20, Suresh Jayaraman, (Fri Oct 2, 1:21 am)
Re: [PATCH 00/31] Swap over NFS -v20, Peter Zijlstra, (Sun Oct 4, 2:41 pm)
Re: [PATCH 00/31] Swap over NFS -v20, Pavel Machek, (Sat Oct 10, 5:06 am)
Re: [PATCH 00/31] Swap over NFS -v20, Peter Zijlstra, (Sat Oct 10, 5:23 am)
Re: [PATCH 00/31] Swap over NFS -v20, Pavel Machek, (Sat Oct 10, 2:10 pm)