[RFC PATCH 35/39] block: update blkdev_ioctl with new trace ioctls

From
Chaitanya Kulkarni <hidden>
Date
2021-02-25 07:11:02
Also in
linux-block
Reply to
Chaitanya Kulkarni, 2021-02-25
Add newly intoduce IOCTLs so that userspace tools can call them.

Signed-off-by: Chaitanya Kulkarni <redacted>
---
 block/ioctl.c | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/block/ioctl.c b/block/ioctl.c
index ff241e663c01..9d5e742ce8be 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -509,6 +509,10 @@ static int blkdev_common_ioctl(struct block_device *bdev, fmode_t mode,
 	case BLKTRACESTART:
 	case BLKTRACESTOP:
 	case BLKTRACETEARDOWN:
+	case BLKTRACESETUP_EXT:
+	case BLKTRACESTART_EXT:
+	case BLKTRACESTOP_EXT:
+	case BLKTRACETEARDOWN_EXT:
 		return blk_trace_ioctl(bdev, cmd, argp);
 	case IOC_PR_REGISTER:
 		return blkdev_pr_register(bdev, argp);
-- 
2.22.1
Thread (57 messages) 57 messages, 4 authors, last reply 2021-02-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help