Re: [PATCH] ceph: Check that the new inode size is within limits in ceph_fallocate()

2017-05-07 Thread Yan, Zheng
On Sat, May 6, 2017 at 1:28 AM, Luis Henriques wrote: > Currently the ceph client doesn't respect the rlimit in fallocate. This > means that a user can allocate a file with size > RLIMIT_FSIZE. This > patch adds the call to inode_newsize_ok() to verify filesystem limits and > ulimits. This shou

[PATCH] ceph: Check that the new inode size is within limits in ceph_fallocate()

2017-05-05 Thread Luis Henriques
Currently the ceph client doesn't respect the rlimit in fallocate. This means that a user can allocate a file with size > RLIMIT_FSIZE. This patch adds the call to inode_newsize_ok() to verify filesystem limits and ulimits. This should make ceph successfully run xfstest generic/228. Signed-off-