mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1716] [MERGED] Add initiator pid, uid and gid to a debug log #2138
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1716
Author: @dolfinus
Created: 7/6/2021
Status: ✅ Merged
Merged: 7/10/2021
Merged by: @ggtakec
Base:
master← Head:debug_pid_info📝 Commits (1)
45f44eeAdd initiator pid, uid and gid to a debug log📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
src/s3fs.cpp(+2 -0)📄 Description
Details
I've discovered a lot of requests to my Minio installation from one of servers with s3fs installed.
After changing the log level to debug I saw a lot of log items that some process is recursively fetching file attributes. But I was not able to find any information about the process which made these requests -
lsofcould return only the information about opened files, but it does not handleget_attrkernel calls.So I've added a debug info in the s3fs process itself. This is a really useful feature.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.