diff options
author | David Howells <dhowells@redhat.com> | 2024-02-23 08:04:33 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2024-04-29 15:01:42 +0100 |
commit | 5f24162f873f08681804059e6de70d77c3e4cea2 (patch) | |
tree | dfec3afaa1c7f65815dc458700d1fdd7efdd70e2 /fs/ceph | |
parent | e67572cd2204894179d89bd7b984072f19313b03 (diff) | |
download | linux-stable-5f24162f873f08681804059e6de70d77c3e4cea2.tar.gz linux-stable-5f24162f873f08681804059e6de70d77c3e4cea2.tar.bz2 linux-stable-5f24162f873f08681804059e6de70d77c3e4cea2.zip |
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/ceph')
0 files changed, 0 insertions, 0 deletions