diff options
| author | David Howells <[email protected]> | 2024-02-23 08:04:33 +0000 |
|---|---|---|
| committer | David Howells <[email protected]> | 2024-04-29 14:01:42 +0000 |
| commit | 5f24162f873f08681804059e6de70d77c3e4cea2 (patch) | |
| tree | dfec3afaa1c7f65815dc458700d1fdd7efdd70e2 /mm/filemap.c | |
| parent | Linux 6.9-rc6 (diff) | |
| download | kernel-5f24162f873f08681804059e6de70d77c3e4cea2.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: Steve French <[email protected]>
cc: Shyam Prasad N <[email protected]>
cc: Rohith Surabattula <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions
