Re: [PATCH v2][SMB3 client] smb3: use filemap_write_and_wait_range instead of filemap_write_and_wait

From: David Howells
Date: Tue Aug 30 2022 - 04:47:07 EST


Steve French <smfrench@xxxxxxxxx> wrote:

> Subject: [PATCH] smb3: use filemap_write_and_wait_range instead of
> filemap_write_and_wait
>
> When doing insert range and collapse range we should be
> writing out the cached pages for the ranges affected but not
> the whole file.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>