Home
last modified time | relevance | path

Searched hist:"719784 ba706cdbb47ef87483950f0a4594d36e87" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dsuper.cdiff 719784ba706cdbb47ef87483950f0a4594d36e87 Thu Jul 19 09:15:24 CDT 2018 Chengguang Xu <cgxu519@gmx.com> 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 <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
H A Dsuper.hdiff 719784ba706cdbb47ef87483950f0a4594d36e87 Thu Jul 19 09:15:24 CDT 2018 Chengguang Xu <cgxu519@gmx.com> 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 <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
H A Dmds_client.cdiff 719784ba706cdbb47ef87483950f0a4594d36e87 Thu Jul 19 09:15:24 CDT 2018 Chengguang Xu <cgxu519@gmx.com> 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 <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>