OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f75d503
)
fs: add file_operations->uring_cmd_iopoll
author
Kanchan Joshi
<joshi.k@samsung.com>
Tue, 23 Aug 2022 16:14:40 +0000
(21:44 +0530)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:42 +0000
(10:30 -0600)
io_uring will invoke this to do completion polling on uring-cmd
operations.
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Link:
https://lore.kernel.org/r/20220823161443.49436-2-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/fs.h
patch
|
blob
|
history
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index
9eced4c
..
d6badd1
100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-2132,6
+2132,7
@@
struct file_operations {
loff_t len, unsigned int remap_flags);
int (*fadvise)(struct file *, loff_t, loff_t, int);
int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
+ int (*uring_cmd_iopoll)(struct io_uring_cmd *ioucmd);
} __randomize_layout;
struct inode_operations {