[ceph-users] Re: RFC: cephfs fallocate

2024-09-10 Thread Milind Changire
On Tue, Sep 10, 2024 at 5:36 PM Ilya Dryomov wrote: > > On Tue, Sep 10, 2024 at 1:23 PM Milind Changire wrote: > > > > Problem: > > CephFS fallocate implementation does not actually reserve data blocks > > when mode is 0. > > It only truncates the file to the given size by setting the file size >

[ceph-users] Re: RFC: cephfs fallocate

2024-09-10 Thread Ilya Dryomov
On Tue, Sep 10, 2024 at 1:23 PM Milind Changire wrote: > > Problem: > CephFS fallocate implementation does not actually reserve data blocks > when mode is 0. > It only truncates the file to the given size by setting the file size > in the inode. > So, there is no guarantee that writes to the file