]> 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 46267/head
authorTamar Shacked <tshacked@redhat.com>
Sun, 15 May 2022 08:39:22 +0000 (11:39 +0300)
committerTamar Shacked <tshacked@redhat.com>
Sun, 15 May 2022 08:44:05 +0000 (11:44 +0300)
commita451a3670b7bb783ca6dcb8b2a31a8e6ec396899
tree50790344cc6ae72c9a90091e7d867d24748e6162
parentc5684e44b978d99d106fb8df34ed9bf45726d737
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>
src/client/Client.cc