Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
8dcaa5de
Commit
8dcaa5de
authored
Jun 18, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3244f3a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
wcfs/__init__.py
wcfs/__init__.py
+3
-4
No files found.
wcfs/__init__.py
View file @
8dcaa5de
...
...
@@ -455,7 +455,7 @@ def __stop(wcsrv, ctx, _onstuck):
log
.
warn
(
"-> kill -TERM wcfs.go ..."
)
os
.
kill
(
wcsrv
.
_proc
.
pid
,
SIGTERM
)
if
wcsrv
.
_fuseabort
is
not
None
:
log
.
warn
(
"-> abort
ing
FUSE connection ..."
)
log
.
warn
(
"-> abort FUSE connection ..."
)
wcsrv
.
_fuseabort
.
write
(
b"1
\
n
"
)
wcsrv
.
_fuseabort
.
flush
()
defer
(
_
)
...
...
@@ -526,12 +526,11 @@ def _fuse_unmount(mntpt):
def
_
():
log
.
warn
(
"# lsof %s"
%
mntpt
)
# -w to avoid lots of
# lsof: WARNING: can't stat() fuse.wcfs file system /
tmp
/wcfs/X
# lsof: WARNING: can't stat() fuse.wcfs file system /
dev/shm
/wcfs/X
# Output information may be incomplete.
# if there are other uncleaned wcfs mountpoints.
# (lsof stats all filesystems on startup)
# XXX -> better use `fuser -m <mntpt>` (it says it will limit search to files only under mntpt) ?
# NOTE lsof +D misbehves - don't use it
# NOTE lsof +D misbehaves - don't use it
ret
,
out
=
_sysproccallout
([
"lsof"
,
"-w"
,
mntpt
])
log
.
warn
(
out
)
if
ret
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment