Граф коммитов

83 Коммитов

Автор SHA1 Сообщение Дата
Sourav Gupta 9d552227a8
fix (#1567) 2024-11-15 16:57:37 +05:30
Sourav Gupta 1c99ecdde0
Remove deprecated methods (#1563) 2024-11-13 12:59:31 +05:30
Vikas Bhansali e5f6bd7fc2
Entry cache component (#1515)
* Adding listing caching option
2024-11-12 15:08:14 +05:30
ashruti-msft 6ba5aafb2e
Generate default config (#1535)
* added command to generate default config
2024-11-11 11:52:03 +05:30
Abhinav Gupta 0fb27e4086
Adding custom component feature (#1558)
* adding custom component feature
2024-11-05 13:10:41 +05:30
ashruti-msft 46a557ce18
Redirecting stream config to BlockCache (#1445)
* Auto convert streaming config to block-cache config
2024-11-05 11:38:27 +05:30
Vikas Bhansali 8c6a53e527
Reverting custom component patch (#1541) 2024-10-15 14:25:54 +05:30
abhiguptacse 1b46f6c04a poc for custom component 2024-08-29 19:08:38 +00:00
Ubuntu 338bf6560f fixed golangci-lint issues 2024-08-20 10:59:15 +00:00
Vikas Bhansali db7dec95e4
Blocker and Vulnerability update (#1473)
* Make vulnerability scan a common code
2024-07-29 15:13:48 +05:30
Vikas Bhansali 3d46ca9e8a
Cleanup stale mount in remount case (#1453)
* Cleanup in case of mount failure for broken blobfuse mounts
2024-07-17 08:16:58 +05:30
ashruti-msft 7f395591db
ObjectID info updated and simplified base config (#1452) 2024-07-12 16:11:38 +05:30
ashruti-msft 5662b0f44c
Added mount path in the syslog (#1407)
* Log formatting
2024-05-15 15:05:22 +05:30
ashruti-msft 492d0c914a
Display mount command (#1400) 2024-05-08 16:25:07 +05:30
Vikas Bhansali 0efccdc3ab
Add lazy-write feature to make flush and close async in nature. (#1373)
* Adding lazy write feature
2024-04-04 12:51:48 +05:30
Vikas Bhansali fdfe001287
Write support using Block-Cache (#1258)
* Adding support for writing using block-cache
2024-01-22 17:38:30 +05:30
Sourav Gupta d918c11e5a
Mount on non-empty path (#1311) 2024-01-16 11:12:53 +05:30
Vikas Bhansali 439f7dbccd
Copyright fix" (#1302)
Copyright fix for 2024
2024-01-02 15:40:39 +05:30
Vikas Bhansali b511c522ab
Respect uid/gid sent over cli param or config file (#1276)
* Respect uid/gid sent over cli param or config file and respresent the same in file listing
2023-10-30 16:34:32 +05:30
Vikas Bhansali 5ecfe4004c
Adaptive Prefetch Streaming (#1181)
* Adaptive Prefetch Streaming
2023-08-25 12:20:34 +05:30
Sourav Gupta b81a04ae00
Fix related to direct_io (#1231) 2023-08-23 10:45:48 +05:30
ashruti-msft 173f608c32
Update cmd/health-monitor_test.go
Co-authored-by: Sourav Gupta <98318303+souravgupta-msft@users.noreply.github.com>
2023-08-16 13:02:01 +05:30
Anubhuti Shruti b71668dd79 pid generator added 2023-08-10 12:54:48 +05:30
Anubhuti Shruti 411f6d0bb9 change pid 2023-08-09 12:56:43 +05:30
Anubhuti Shruti c62d8be69a changed invalid pid number 2023-08-09 12:00:12 +05:30
Vikas Bhansali 1596a6a78e
Multiple bug fixes (#1213)
* if 'du' is not found, skip checking for disk usage in LRU policy
* for unmount check for fusermount3 rather then fusermount
* add more lru policy logs to detect why deletions are done
* v1 flag for file-cache-timeout-in-seconds is not honored while creating cache policy
2023-08-01 16:23:54 +05:30
ashruti-msft e44696b848
Fixed the priority level of libfuse (#1201)
* Fixed the priority level of libfuse

* Added test for the wrong component priority order case
2023-07-17 16:07:37 +05:30
Sourav Gupta 461fad73e9
Adding FUSE option direct_io (#1162)
* Adding direct_io flag
2023-06-06 21:23:25 +05:30
Vikas Bhansali fc70ce7693
Vibhansa/v2/unmount err (#1154)
* Adding error message for unmount failure
2023-05-25 15:48:42 +05:30
Vikas Bhansali 05a10949bd
Upgrading to go 1.19 (#1135)
* Upgrading to go 1.19
2023-05-10 14:53:05 +05:30
Vikas Bhansali 251047b942
Adding option to pass down allow_root option to libfuse (#1123)
Adding option to pass down allow_root option to libfuse (#1123)
2023-04-27 08:50:13 +05:30
Vikas Bhansali e60e3fe01e
uid/gid support (#1095)
* Add support for uid/gid
2023-04-10 14:34:44 +05:30
weizhi 8f655cf9e1
Fix: async (background) mount may cause problems (#1088)
#1079
Pod deletion will cause global mount point to disappear. The root cause is csi driver will bind mount the global mount point into Pod volume immediately after blobfuse2 mount return successfully. However, fuse is still mounting at background, so actually bind mount and fuse mount happened at the same time, this will lead to a problem that unmount the bind mount (when deleting a Pod) will cause the original mount point unmounted as well.
#1081
Mount is actually failed, but the errno returned by blobfuse2 is 0 and no error log (both terminal and log file).
2023-03-22 10:29:36 +05:30
Vikas Bhansali 5e06d43184
Exit with non-zero status code if allow_other is used but not enabled in fuse config (#1087)
* Fix for #1081 to return with non zero status code if allow_other is not enable in fuse.conf
2023-03-21 12:26:53 +05:30
Vikas Bhansali 4763ee5f33
DFS rename operation not encoding source url (#1082)
* Adding fix for dfs rename where source is not url encoded
2023-03-15 15:14:54 +05:30
Vikas Bhansali 1f039cfed0
Create work dir if it does not exists (#1052)
* Create work dir if it does not exists
2023-02-09 09:10:13 +05:30
Vikas Bhansali fc5629d3ac
If version check fails to reach public container mount ./all/v1 command is exited (#1050)
* Do not error out if version check fails, instead just dump the log and continue
2023-02-04 13:12:42 +05:30
Vikas Bhansali 34bdad7d87
Fix Panic generated when user does not have a home directory set (#1040)
Fix Panic generated when user does not have a home directory set
2023-02-03 11:55:57 +05:30
Sourav Gupta a3761af40d
Updating umask value (#1045)
* Changing umask value
2023-02-01 11:05:47 +05:30
Sourav Gupta 399ad95fb1
Mount all fix (#1034)
* Mount all fix
2023-01-20 12:32:56 +05:30
Vikas Bhansali b7bb6309fa
uid/gid cli parameter parsing error (#1024)
Fixed uid/gid cli parameter parsing error
2023-01-07 12:03:00 +05:30
Vikas Bhansali e02acffd38
Copyright fix (#1025)
* Correcting copyright statement
2023-01-07 08:11:07 +05:30
Vikas Bhansali e68f102f55
Minor Fixes (#1001)
#999 Upgrade dependencies to resolve known CVEs.
#1002 In case version check fails to connect to public container, dump a log to check network and proxy settings.
#1006 Remove user and group config from logrotate file.
2022-12-23 17:37:40 +05:30
Vikas Bhansali 6165f412b7
Subdirectory as cli option and support for nonempty libfuse option (#975)
* Allow mounting on a nonempty directory
* Allow subdirectory to be configured using cli option
2022-11-16 16:27:46 +05:30
Vikas Bhansali 321252411d
Fix mountall command (#973)
* Add retry in rename call when deletion fails

* Fix config file name in mount all command

* Update change log

* Reset some config which was set just for mount all before firing mount commands

* Resolving review comments

* correcting mount all commands
2022-11-15 16:12:15 +05:30
Sourav Gupta 9508dd8f69
Health monitor CLI tests (#952)
* Adding tests for health-monitor command

* Adding tests for stop pid and stop all

* more tests

* Some changes

* Some changes

* some changes
2022-10-28 08:21:38 +05:30
Gauri Prasad 196a9085a0
Fixed a bug where mount all required a config file (#939) 2022-10-18 20:07:14 -07:00
Gauri Prasad 0369d6098f
Added support to work with virtual directories without the special marker directory blob (#927)
* Added support to work with virtual directories

* fix spelling

* Fix lint

* Fix subdir issue

* Correcting infinte loop in getattr using list failure condition

* Add cli flag to enable virtual directory support

* Update ReadME for virtual-dir cli options

* Corrected

Co-authored-by: vibhansa-msft <vibhansa@microsoft.com>
2022-10-07 10:25:01 +05:30
Sourav Gupta a92ef4339b
Mount using /etc/fstab (#924)
* parsing os args

* Removing auto completion

* Update changelog

* Add more flags to ignore

* Small change'

* coverage edit

* Removing dead code

* Add test cases for parse and validate config

* Init logger for UT on config

* Correctly define const slice for fuse ignored flags

* Adding unmount test cases

* Add comments as per review comments

* Correcting unmount tests

* Add logs if mkdir fails

* spell correction in comments

* Run all unmount tests serially with different mount points

* correcting unmount test cases

* Making unmount test parallel

* Adding handle map test cases

Co-authored-by: vibhansa-msft <vibhansa@microsoft.com>
2022-10-05 21:33:52 +05:30
Gauri Prasad cdde152a0d
Fix for ignore open flags (#917)
* Fix typo for ignore open flags

* Changelog

* Fixed error and Readme

* correct the yaml

* try to fix ut

* revert test

* revert test

* revert test
2022-09-30 10:15:09 +05:30