Searched hist:bb413489 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/afs/ |
H A D | write.c | bb413489 Thu Jun 11 18:15:13 CDT 2020 David Howells <dhowells@redhat.com> afs: Fix non-setting of mtime when writing into mmap
The mtime on an inode needs to be updated when a write is made into an mmap'ed section. There are three ways in which this could be done: update it when page_mkwrite is called, update it when a page is changed from dirty to writeback or leave it to the server and fix the mtime up from the reply to the StoreData RPC.
Found with the generic/215 xfstest.
Fixes: 1cf7a1518aef ("afs: Implement shared-writeable mmap") Signed-off-by: David Howells <dhowells@redhat.com> bb413489 Thu Jun 11 18:15:13 CDT 2020 David Howells <dhowells@redhat.com> afs: Fix non-setting of mtime when writing into mmap The mtime on an inode needs to be updated when a write is made into an mmap'ed section. There are three ways in which this could be done: update it when page_mkwrite is called, update it when a page is changed from dirty to writeback or leave it to the server and fix the mtime up from the reply to the StoreData RPC. Found with the generic/215 xfstest. Fixes: 1cf7a1518aef ("afs: Implement shared-writeable mmap") Signed-off-by: David Howells <dhowells@redhat.com>
|