Ronnie Sahlberg <lsahlber@xxxxxxxxxx> writes: > This is the opposite case of kernel bugzilla 216301. > If we mmap a file using cache=none and then proceed to update the mmapped > area these updates are not reflected in a later pread() of that part of the > file. > To fix this we must first destage any dirty pages in the range before > we allow the pread() to proceed. > > Signed-off-by: Ronnie Sahlberg <lsahlber@xxxxxxxxxx> > --- > fs/cifs/file.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) Reviewed-by: Paulo Alcantara (SUSE) <pc@xxxxxx>