Brendan Ashworth
294ea814bf
pkg/fs: for locks, prefer defer and read-only ops
...
This commit prefers the use of 'defer' for fs.Unlock (and fs.RUnlock)
because it is more idiomatic Go and reduces repetition in the code,
lending to a cleaner code base.
It also switches a few uses of the lock to read-only locks, which should
improve performance of those functions dramatically in certain contexts.
9 years ago
Harshavardhana
800b19d8e5
cleanup: Remove definitions and move them to its relative places accordingly
...
- Move fs-definitions.go and break them into fs-datatypes.go, fs-bucket-acl.go
and fs-utils.go
- Move api-definitions.go to api-response.go, where they should be.
- Move web-definitions to its related handlers.
9 years ago
Harshavardhana
5a9333a67b
signature: Rewrite signature handling and move it into a library.
9 years ago
Harshavardhana
62f6ffb6db
xl: Moved to minio/minio - fixes #1112
9 years ago
Harshavardhana
f4c8120cf9
server: Remove max-buckets option and now max buckets is unlimited.
...
minio server max-buckets option removed. min-free-disk option is
now a flag.
9 years ago
Harshavardhana
4e6e78598f
multipart: Increase locked critical for CompleteMultipart.
9 years ago
Harshavardhana
8bf1045645
setBucketMetadata: Fix a deadlock.
9 years ago
Harshavardhana
a4c005ce30
multipart: Code cleanup
...
- More locking cleanup. Fix naming convention.
- Simplify concatenation and blocking calls.
9 years ago
Harshavardhana
8557cbc9b7
fs: Add granular locking.
9 years ago
Harshavardhana
2ec9b16667
deleteBucket: Directory not empty error on windows is "directory is not empty"
9 years ago
Harshavardhana
497f13d733
api: Various fixes.
...
- limit list buckets to limit only 100 buckets, all uppercase buckets
are now lowercase and work transparently with all calls.
- Change disk.Stat to disk.GetInfo and return back disk.Info{} struct.
- Introduce new ioutils package which implements ReadDirN(path, n),
ReadDirNamesN(path, n)
9 years ago
Harshavardhana
4fc161ddb1
bucketName: relax bucket names, now allow numbers as starting characters.
9 years ago
Harshavardhana
836f5204af
minio: Add config-folder option.
...
Fixes #997
9 years ago
Harshavardhana
ab15f56a61
fs/bucket: Move bucket metadata into buckets.json
9 years ago
Harshavardhana
baf66988e9
Simplify bucket delete - remove only bucket directory, no need to recursively traverse
9 years ago
Harshavardhana
dbaa4d8643
Move ListObjects into its own file
9 years ago
Harshavardhana
1f66f4869b
Fix all remaining windows path issues.
9 years ago
Harshavardhana
afa27b9847
On windows translate Prefix, Marker and Delimiter for paths
9 years ago
Harshavardhana
dddb1650de
Add 5% cumulative reduction in total size of the disk
...
This is done due to filesystem holding additional metadata and inode space
which is unaccounted for during min-free-disk calculation.
9 years ago
Harshavardhana
c065be656c
Implement min-free-disk as a subcommand, deprecate flag
9 years ago
Harshavardhana
5b2fa33bdb
Implementing min-free-disk
9 years ago
Harshavardhana
1256ca86d0
Add fs separator
9 years ago
Harshavardhana
d534fc5a4f
Implement delete bucket properly with proper error handlings
9 years ago
Harshavardhana
c9af01d807
Enhance listing further, this time handle cases related to common prefixes
9 years ago
Harshavardhana
762b798767
Migrate this project to minio micro services code
9 years ago