Re: [PATCH 3/3] AFS: Implement basic file write support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Tuesday, May 8, 2007 - 5:00 pm

On Tue, 08 May 2007 20:44:11 +0100
David Howells <dhowells@redhat.com> wrote:



The below isn't a review - it's some random cherrypickling.


You're sure this isn't user-triggerable?


kmap_atomic() could be used here and is better.

We have this zero_user_page() thing heading in which could perhaps be used
here also.




wow.


One would normally run mark_inode_dirty() after any i_size_write()?


We can invalidate pages and we can truncate them and we can clean them. 
But here we have a new operation, "killing".  I wonder what that is.


Didn't the VFS already do that?


And some of that?


I have this vague prehistoric memory that something can go wrong at the VFS
level if the address_space writes back more pages than it was asked to. 
But I forget what the issue was and it would be silly to have an issue
with that anyway.  Something to keep an eye out for.


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

Messages in current thread:
[PATCH 2/3] AFS: AFS fixups, David Howells, (Tue May 8, 12:44 pm)
[PATCH 3/3] AFS: Implement basic file write support, David Howells, (Tue May 8, 12:44 pm)
Re: [PATCH 3/3] AFS: Implement basic file write support, Andrew Morton, (Tue May 8, 5:00 pm)
Re: [PATCH 3/3] AFS: Implement basic file write support, Andrew Morton, (Wed May 9, 3:41 am)
Re: [PATCH 3/3] AFS: Implement basic file write support, Andrew Morton, (Wed May 9, 9:28 am)
Re: [PATCH 3/3] AFS: Implement basic file write support, David Howells, (Thu May 10, 2:56 am)
Re: [PATCH 3/3] AFS: Implement basic file write support, Nick Piggin, (Thu May 10, 11:14 pm)