Tianlong Wu
115bd51f3f
Fix a bug of truncating empty file
2016-04-22 14:49:37 +08:00
Takeshi Nakatani
10589a9497
Supported User-Agent header - #383
2016-04-17 07:44:03 +00:00
Takeshi Nakatani
090c37a1c1
Fixed writing sparsed file - #375,#379,#394
2016-04-12 18:24:36 +00:00
Takeshi Nakatani
fff40bbff3
Revert "Fixed a bug about writing sparsed file - #375 "
2016-04-13 01:24:24 +09:00
Mattia Rizzolo
136ec654c2
fix typo in curl.cpp: s/returing/returning/
2016-04-02 15:19:06 +00:00
Takeshi Nakatani
ded4faf2e4
Fixed a bug about writing sparsed file - #375
2016-03-22 05:44:14 +00:00
Takeshi Nakatani
98d55582eb
Chnaged about constructor(destructor) in cache.h
2016-03-13 09:47:37 +00:00
Takeshi Nakatani
84bdd51021
Fixed a bug about etag comparison in stats cache.
2016-03-13 09:29:06 +00:00
Takeshi Nakatani
67efc11d94
Always set stats cache for opened file
2016-03-13 05:43:28 +00:00
Takeshi Nakatani
4c65c09f4d
Checked content-type by no case-sensitivity - #363
2016-02-13 05:58:59 +00:00
yurykats
230991782b
Update s3fs_util.cpp
2016-02-08 16:39:56 -05:00
Takeshi Nakatani
f81e6103cb
Fixed codes about clock_gettime for osx(3)
2016-02-07 08:27:02 +00:00
Takeshi Nakatani
0755c6f60c
Fixed codes about clock_gettime for osx(2)
2016-02-07 08:10:23 +00:00
Takeshi Nakatani
e01ded9e27
Fixed codes about clock_gettime for osx
2016-02-07 07:40:55 +00:00
Takeshi Nakatani
1af7aaeccb
Fixed addhead.cpp for cppcheck
2016-02-07 05:53:56 +00:00
Takeshi Nakatani
c7cf86c2ef
Sepalated AdditionalHeader class from curl.*
2016-02-07 05:41:56 +00:00
Takeshi Nakatani
6472eedddc
Supported regex type for additional header format.
2016-02-07 05:08:52 +00:00
Takeshi Nakatani
150b83f61e
Remove stat file cache dir if specified del_cache - #337
2016-02-06 18:59:13 +00:00
Takeshi Nakatani
c5a94cfc0c
Check cache dirctory path and attributes - #347
2016-02-06 13:38:48 +00:00
Takeshi Nakatani
203df6b58a
Merge pull request #346 from RobbKistler/empty-dir
...
Fix empty directory check against AWS S3
2016-02-06 18:59:45 +09:00
Takeshi Nakatani
b90b51f2c5
Changed cache out logic for stat - #340
2016-02-06 09:09:17 +00:00
Takeshi Nakatani
8b457133da
Merge pull request #341 from hryang/master
...
Fix the memory leak issue in fdcache.
2016-02-06 14:41:28 +09:00
Robb Kistler
4eff6b4dd1
Fix empty directory check against AWS S3
...
For ListBucketResult on an empty directory, AWS S3 and S3Proxy 1.4
differ. AWS will match the directory name, S3Proxy does not.
Changing max-keys=1 to max-keys-2 works for both implementations.
append_objects_from_xml() will swallow the directory key. The log
level of this message is changed from ERROR to DBG.
Fixes #345
2016-02-04 23:13:00 -08:00
haoran.yanghr
e3765ad497
Tune the code indent.
2016-01-28 11:16:06 +08:00
haoran.yanghr
dd9f3aed36
Fix the memory leak issue in fdcache. See issue #340
2016-01-28 11:11:53 +08:00
Takeshi Nakatani
83937700dd
Fixed a bug about IAMCRED type could not be retried.
2016-01-24 05:01:50 +00:00
Takeshi Nakatani
e932583309
Merge pull request #334 from andrewgaul/bucket-host
...
Bucket host should include port and not path
2016-01-17 14:46:40 +09:00
Andrew Gaul
88a4f04217
Bucket host should include port and not path
...
This resolves issues when using v4 signing with path-style requests.
2016-01-16 15:58:54 -08:00
Andrew Gaul
ff607e1a2d
Correct multiple issues with ListBucketRequest
...
* provide correct path
* sign query string
* URL encode query string
2016-01-16 10:17:20 -08:00
Takeshi Nakatani
4bfbfa3621
Merge pull request #331 from andrewgaul/clang
...
Address various clang warnings
2016-01-16 16:14:50 +09:00
Takeshi Nakatani
43b91d3235
Merge pull request #330 from andrewgaul/pass-by-reference
...
Pass by const reference where possible
2016-01-16 16:14:31 +09:00
Andrew Gaul
e003732f18
Address various clang warnings
...
Found with:
-Wc++11-extensions
-Wc++11-extra-semi
-Wmissing-variable-declarations
-Wundef
2016-01-11 00:52:24 -08:00
Andrew Gaul
b946b59522
Pass by const reference where possible
2016-01-10 16:58:24 -08:00
Andrew Gaul
ea6b287d1a
Fix v4 signature with use_path_request_style
...
Previously s3fs omitted the bucket name when using path request style
causing SignatureDoesNotMatch with v4 signatures.
2016-01-10 13:41:56 -08:00
Takeshi Nakatani
ea151a70c4
Merge pull request #321 from mcellis33/320
...
320: delete stat cache entry in s3fs_fsync so st_size is refreshed
2015-12-20 15:05:28 +09:00
Mark Ellis
163daa5de1
320: delete stat cache entry in s3fs_fsync so st_size is refreshed
2015-12-18 15:39:25 -08:00
Robb Kistler
b581290c30
Cleanly exit fuse loop on error in s3fs_init
...
This allows FUSE to clean the mount point up, preventing
"Transport endpoint not connected" errors on subsequent
access to the mount.
2015-12-15 15:25:56 -08:00
Takeshi Nakatani
2b3ece467b
Merge pull request #311 from RobbKistler/dbg-message
...
Change error log to debug log in s3fs_read()
2015-12-08 00:03:48 +09:00
Robb Kistler
8e688816d4
Change error log to debug log in s3fs_read()
2015-12-03 21:25:27 -08:00
Takeshi Nakatani
759b44135a
Check pthread prtability in configure as additional change for #307
2015-12-03 07:47:17 +00:00
Takeshi Nakatani
8b53e0d931
Merge pull request #307 from rockuw/master
...
Fix pthread portability problem
2015-12-03 16:35:30 +09:00
Tianlong Wu
3e655bad3b
PTHREAD_MUTEX_RECURSIVE_NP is a enum not macro
2015-12-03 13:44:11 +08:00
Takeshi Nakatani
5e97cb0f48
Changed ensure free disk space as additional change for #306
2015-12-03 05:40:26 +00:00
Tianlong Wu
f44b61c403
Fix pthread portability problem
2015-12-03 10:44:38 +08:00
Guy
6067af6ef1
Fix read concurrency to work in parallel count
...
When the prefetch size is limited to the multipart size, the entire parallel logic of the read flow does not have an opportunity to use parallel get.
This fix increases the read performance significantly over our own s3 on-premise solution.
2015-11-30 18:38:15 +02:00
Takeshi Nakatani
7b62de80f6
Fixed a bug about mtime - #299
2015-11-29 15:53:53 +00:00
Robb Kistler
fff2952d5f
Fix syslog level used by S3FS_PRN_EXIT()
...
Without converting from s3fs log levels to syslog levels, the syslog
ends up being LOG_EMERG which can cause a broadcast message to all
users.
2015-11-25 13:53:08 -08:00
Takeshi Nakatani
c673d9d935
File opened with O_TRUNC is not flushed - changed #291
2015-11-08 04:55:17 +00:00
Takeshi Nakatani
0fdda61fb5
Merge pull request #293 from SnakeHunt2012/master
...
Fix a small spelling issue.
2015-11-08 13:26:01 +09:00
Takeshi Nakatani
331b8456a0
Merge pull request #291 from RobbKistler/truncate
...
Issue #290 : File opened with O_TRUNC is not flushed
2015-11-08 13:23:06 +09:00