Re: [PATCH 03/26] netfs: Update i_blocks when write committed to pagecache

2024-04-16 Thread David Howells
Jeff Layton wrote: > > 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. > > > > Umm ok, but why? I get that the i_size and i_blocks would be out of sync > until we get back new attrs from the serv

Re: [PATCH 03/26] netfs: Update i_blocks when write committed to pagecache

2024-04-15 Thread Jeff Layton
On Thu, 2024-03-28 at 16:33 +, David Howells wrote: > 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. > Umm ok, but why? I get that the i_size and i_blocks would be out of sync until we get back

[PATCH 03/26] netfs: Update i_blocks when write committed to pagecache

2024-03-28 Thread David Howells
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. Signed-off-by: David Howells cc: Steve French cc: Shyam Prasad N cc: Rohith Surabattula cc: Jeff Layton cc: linux-c...@vger.kernel.org cc: ne...@list