**Describe the situation**

The author implemented it but enabled only for DiskS3.
CC @excitoon 
{
    auto settings = current_settings.get();
    
    auto blob_name = getRandomASCIIString();
    std::optional<ObjectMetadata> object_metadata;
    if (settings->send_metadata)
    {
        auto revision = ++revision_counter;
        object_metadata = {
            {"path", path}
        };
        blob_name = "r" + revisionToString(revision) + "-file-" + blob_name;
    }
    LOG_TRACE(log, "{} to file by path: {}. S3 path: {}",
              mode == WriteMode::Rewrite ? "Write" : "Append", backQuote(metadata_disk->getPath() + path), remote_fs_root_path + blob_name);
    ScheduleFunc schedule = [pool = &getThreadPoolWriter(), thread_group = CurrentThread::getGroup()](auto callback)
    {
        pool->scheduleOrThrow([callback = std::move(callback), thread_group]()
        {
            if (thread_group)
                CurrentThread::attachTo(thread_group);
            SCOPE_EXIT_SAFE(
                if (thread_group)
                    CurrentThread::detachQueryIfNotDetached();