mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-14 00:14:07 +00:00
Merge pull request #948 from gaul/too-many-parts
Add logging for too many parts
This commit is contained in:
commit
fb6debd986
@ -1508,6 +1508,7 @@ int FdEntity::RowFlush(const char* tpath, bool force_sync)
|
|||||||
*/
|
*/
|
||||||
if(pagelist.Size() > static_cast<size_t>(MAX_MULTIPART_CNT * S3fsCurl::GetMultipartSize())){
|
if(pagelist.Size() > static_cast<size_t>(MAX_MULTIPART_CNT * S3fsCurl::GetMultipartSize())){
|
||||||
// close f ?
|
// close f ?
|
||||||
|
S3FS_PRN_ERR("Part count exceeds %d. Increase multipart size and try again.", MAX_MULTIPART_CNT);
|
||||||
return -ENOTSUP;
|
return -ENOTSUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user