]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: allow overwrites to files with size greater than the max_file_size cfg 47971/head
authorTamar Shacked <tshacked@redhat.com>
Sun, 15 May 2022 08:39:22 +0000 (11:39 +0300)
committerVenky Shankar <vshankar@redhat.com>
Mon, 5 Sep 2022 09:10:05 +0000 (14:40 +0530)
commit3eba4051fb50735233cbfe475e75b5bae821d88e
tree27ac02c556b6e31dbd4986a900a4896a61ea954a
parent062cf704f382d1eaba02a8cf939ebbf69f8233ae
client: allow overwrites to files with size greater than the max_file_size cfg

Before this change, overwriting from file-offset >= max_file_size config
returns "File too large" (even though the data is being written)
This change allow overwrites as the file size is not further increasing.

Fixes: https://tracker.ceph.com/issues/24894
Signed-off-by: Tamar Shacked <tshacked@redhat.com>
(cherry picked from commit a451a3670b7bb783ca6dcb8b2a31a8e6ec396899)
src/client/Client.cc