Merge pull request #820 from gaul/big-writes

Enable big writes if capable
This commit is contained in:
Takeshi Nakatani 2018-09-17 17:24:06 +09:00 committed by GitHub
commit c5af62b023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3420,6 +3420,10 @@ static void* s3fs_init(struct fuse_conn_info* conn)
} }
#endif #endif
if((unsigned int)conn->capable & FUSE_CAP_BIG_WRITES){
conn->want |= FUSE_CAP_BIG_WRITES;
}
return NULL; return NULL;
} }