Enable big writes if capable

Fixes #813.
This commit is contained in:
Andrew Gaul 2018-09-10 22:21:51 -07:00
parent 06032aa661
commit a85183d42c

View File

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