Searched hist:"8 f065d36" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/gfs2/ |
H A D | aops.c | 8f065d36 Tue May 03 05:49:19 CDT 2011 Steven Whitehouse <swhiteho@redhat.com> GFS2: Improve bug trap code in ->releasepage()
If the buffer is dirty or pinned, then as well as printing a warning, we should also refuse to release the page in question.
Currently this can occur if there is a race between mmap()ed writers and O_DIRECT on the same file. With the addition of ->launder_page() in the future, we should be able to close this gap.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> 8f065d36 Tue May 03 05:49:19 CDT 2011 Steven Whitehouse <swhiteho@redhat.com> GFS2: Improve bug trap code in ->releasepage() If the buffer is dirty or pinned, then as well as printing a warning, we should also refuse to release the page in question. Currently this can occur if there is a race between mmap()ed writers and O_DIRECT on the same file. With the addition of ->launder_page() in the future, we should be able to close this gap. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
|