Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1603720

Re: [PATCH] xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files

From Calvin Owens <calvinowens@fb.com>
Newsgroups linux.kernel
Subject Re: [PATCH] xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
Date 2017-03-18 04:00 +0100
Message-ID <tmcKZ-7ZW-7@gated-at.bofh.it> (permalink)
References <tmcKZ-7ZW-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> Fix this by reintroducing the checks xfs_zero_remaining_bytes() did
> against i_size into xfs_zero_range().

Sorry this is wrong: I missed that xfs_zero_range() has another caller that
depends on the behavior I'm changing. I'll send a v2 with the same hunk at
the bottom of xfs_free_file_space() instead.

Thanks,
Calvin

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of  files Calvin Owens <calvinowens@fb.com> - 2017-03-18 04:00 +0100

csiph-web