summaryrefslogtreecommitdiff
path: root/fs/netfs/io.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-02-23 11:04:33 +0300
committerDavid Howells <dhowells@redhat.com>2024-04-29 17:01:42 +0300
commit5f24162f873f08681804059e6de70d77c3e4cea2 (patch)
treedfec3afaa1c7f65815dc458700d1fdd7efdd70e2 /fs/netfs/io.c
parente67572cd2204894179d89bd7b984072f19313b03 (diff)
downloadlinux-5f24162f873f08681804059e6de70d77c3e4cea2.tar.xz
netfs: Update i_blocks when write committed to pagecache
Update i_blocks when i_size is updated when we finish making a write to the pagecache to reflect the amount of space we think will be consumed. This maintains cifs commit dbfdff402d89854126658376cbcb08363194d3cd ("smb3: update allocation size more accurately on write completion") which would otherwise be removed by the cifs part of the netfs writeback rewrite. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: Steve French <sfrench@samba.org> cc: Shyam Prasad N <nspmangalore@gmail.com> cc: Rohith Surabattula <rohiths.msft@gmail.com> cc: linux-cifs@vger.kernel.org cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org
Diffstat (limited to 'fs/netfs/io.c')
0 files changed, 0 insertions, 0 deletions