mirror of
https://github.com/minio/minio.git
synced 2025-12-08 08:42:43 -05:00
fsStorage should use appendStorage with offsets
- also takes in 'blockSize' cli option. - robustness fixes
This commit is contained in:
@@ -228,7 +228,7 @@ func SimpleEncodedStorageDriver(bucket string, input chan ObjectRequest, config
|
||||
}
|
||||
|
||||
func SimpleFileStorageDriver(bucket string, input chan ObjectRequest, config GatewayConfig) {
|
||||
fileStorage, _ := fsstorage.NewStorage(config.DataDir)
|
||||
fileStorage, _ := fsstorage.NewStorage(config.DataDir, config.BlockSize)
|
||||
for request := range input {
|
||||
switch request.requestType {
|
||||
case "GET":
|
||||
|
||||
Reference in New Issue
Block a user