mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-10 23:00:57 +00:00
Add Lock() func parameter in RowFlush()
This commit is contained in:
parent
e936854493
commit
f78bcc5229
@ -1507,7 +1507,7 @@ int FdEntity::RowFlush(const char* tpath, bool force_sync)
|
||||
if(ReserveDiskSpace(restsize)){
|
||||
// enough disk space
|
||||
// Load all uninitialized area
|
||||
result = Load();
|
||||
result = Load(/*start=*/ 0, /*size=*/ 0, /*lock_already_held=*/ true);
|
||||
FdManager::FreeReservedDiskSpace(restsize);
|
||||
if(0 != result){
|
||||
S3FS_PRN_ERR("failed to upload all area(errno=%d)", result);
|
||||
|
Loading…
Reference in New Issue
Block a user