]> 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 47972/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:48 +0000 (14:40 +0530)
commitc375ce65d6a31e7a74f1f9b673c95ff8156e2c3b
tree02f68a79bf3b995ebe31eccef678f91d1b452bea
parent7b4e839796c28befa407d93d313da34fd130e786
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