diff options
| author | Miklos Szeredi <[email protected]> | 2021-04-08 09:11:19 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2021-04-12 13:04:30 +0000 |
| commit | 72227eac177dd126355ab8d8bd71b46af56c5cf3 (patch) | |
| tree | 7851feb59c59137c5eab10c974a011ea56cdc98a /tools/perf/scripts/python | |
| parent | fuse: add internal open/release helpers (diff) | |
| download | kernel-72227eac177dd126355ab8d8bd71b46af56c5cf3.tar.gz kernel-72227eac177dd126355ab8d8bd71b46af56c5cf3.zip | |
fuse: convert to fileattr
Since fuse just passes ioctl args through to/from server, converting to the
fileattr API is more involved, than most other filesystems.
Both .fileattr_set() and .fileattr_get() need to obtain an open file to
operate on. The simplest way is with the following sequence:
FUSE_OPEN
FUSE_IOCTL
FUSE_RELEASE
If this turns out to be a performance problem, it could be optimized for
the case when there's already a file (any file) open for the inode.
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
