Harshavardhana
f3c6c55719
posix: Fix windows performance issues. ( #3132 )
...
Do not attempt to fetch volume/drive information for
each i/o situation. In our case we do this in all calls
`posix.go` this in-turn created a terrible situation for
windows. This issue does not affect the i/o path on Unix
platforms since statvfs calls are in the range of micro
seconds on these platforms.
This verification is only needed during startup and we
let things fail at a later stage on windows.
8 years ago
Anis Elleuch
a47ce7ab22
Add support of fallocate for FS and XL backends ( #3032 )
8 years ago
Harshavardhana
9e2d0ac50b
Move to URL based syntax formatting. ( #3092 )
...
For command line arguments we are currently following
- <node-1>:/path ... <node-n>:/path
This patch changes this to
- http://<node-1>/path ... http://<node-n>/path
8 years ago
Harshavardhana
8d2347bc7b
storage: DeleteFile should return errFileNotFound for ENOENT. ( #2978 )
8 years ago
Anis Elleuch
d936ed90ae
Avoid testing on system errors strings in posix ( #2583 )
8 years ago
Harshavardhana
bccf549463
server: Move all the top level files into cmd folder. ( #2490 )
...
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
8 years ago
karthic rao
0b225269e1
tests: posix: tests cleaning up and enhancing coverage. ( #2410 )
8 years ago
karthic rao
5b86dd7659
Tests: Cleanup/Enhancement: Add few more cases to posix.ReadFile tests and use a cleaner posixTestSetup for posix tests ( #2330 )
8 years ago
Harshavardhana
cf9ba7b88f
tests: Add missing unit test for posix.ReadFile. ( #2319 )
8 years ago
Harshavardhana
de468f92ec
posix: ReadAll should handle the case when parent is not a dir. ( #2163 )
...
It can happen so that a read request can come for a file which
already has a parent i.e a file.
This fix handles this scenario - fixes #2047
9 years ago
Bala FA
8d4365d23c
tests: add unit test for posix functions. ( #2037 )
...
Unit tests for posix operations.
* MakeVol
* DeleteVol
* StatVol
* ListVols
* DeleteFile
* AppendFile
* RenameFile
* StatFile
Fixes #2021
9 years ago
Harshavardhana
d64c3fd464
posix: Return errDiskNotWritable during disk initialization. ( #2048 )
...
It can happen that minio server might not have
writable permissions on the export paths command line.
Fixes #2035
9 years ago
Bala FA
57bc08cc7e
posix: remove disk free space check for read-only and delete methods. ( #2033 )
9 years ago
Harshavardhana
42286cba70
XL: Implement new ReadAll API for files which are read in single call. ( #1974 )
...
Add a unit test as well.
9 years ago