diff options
author | Chengguang Xu <[email protected]> | 2018-07-19 22:15:24 +0800 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2018-08-02 21:33:27 +0200 |
commit | 719784ba706cdbb47ef87483950f0a4594d36e87 (patch) | |
tree | 98ebbab08cb3fda315435011ad517effcc08956e /scripts | |
parent | f1d10e04637924f2b00a0fecdd2ca4565f5cfc3f (diff) |
ceph: add new field max_file_size in ceph_fs_client
In order to not bother to VFS and other specific filesystems,
we decided to do offset validation inside ceph kernel client,
so just simply set sb->s_maxbytes to MAX_LFS_FILESIZE so that
it can successfully pass VFS check. We add new field max_file_size
in ceph_fs_client to store real file size limit and doing proper
check based on it.
Signed-off-by: Chengguang Xu <[email protected]>
Reviewed-by: "Yan, Zheng" <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions