Trond Myklebust
f1e31607e7
NFS: Fix a race between mmap() and O_DIRECT
...
commit e231c6879cfd44e4fffd384bb6dd7d313249a523 upstream.
When locking the file in order to do O_DIRECT on it, we must unmap
any mmapped ranges on the pagecache so that we can flush out the
dirty data.
Fixes: a5864c999de67 ("NFS: Do not serialise O_DIRECT reads and writes")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-16 20:22:59 +01:00
..
2017-11-02 11:10:55 +01:00
2018-02-16 20:22:58 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-01 18:51:30 -04:00
2017-08-15 11:54:47 -04:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:08 +01:00
2018-02-16 20:22:58 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:46 +00:00
2017-09-06 17:27:26 -07:00
2016-12-24 11:46:01 -08:00
2017-08-15 11:54:48 -04:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:22:59 +01:00
2017-11-02 11:10:55 +01:00
2017-08-11 14:10:13 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-05-28 10:11:47 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-12-01 17:46:32 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-02 09:45:55 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:22:58 +01:00
2015-04-23 15:16:14 -04:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:46 +00:00
2017-02-09 14:15:16 -05:00
2016-12-01 17:21:38 -05:00
2017-11-02 11:10:55 +01:00
2017-07-13 14:35:37 -07:00
2015-04-23 15:16:14 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:46 +00:00
2018-02-16 20:22:58 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-09-11 22:28:56 -04:00
2017-09-09 12:51:40 -04:00
2018-02-16 20:22:58 +01:00
2017-08-15 11:54:48 -04:00
2017-11-02 11:10:55 +01:00
2017-09-11 22:20:38 -04:00
2017-11-30 08:40:45 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:22:58 +01:00