History

Merge v4.18-rc3 into drm-next

Two requests have come in for a backmerge, and I've got some pull reqs on rc2, so this just makes sense.

Dave Airlie committed 8 years ago

Commit f29135e2 parents eab9766 021c917702 files · +6937 −3712Browse files

Showing the changes to include/uapi (3 of 702 files). Show all

Unified · Split

3 files
  1. include/uapi/linux/aio_abi.h +4 −2
  2. include/uapi/linux/nbd.h +3 −0
  3. include/uapi/linux/target_core_user.h +3 −1
include/uapi/linux/aio_abi.h+4−2
@@ -39,8 +39,10 @@ enum { · 38 unmodified lines
3939 IOCB_CMD_PWRITE = 1,
4040 IOCB_CMD_FSYNC = 2,
4141 IOCB_CMD_FDSYNC = 3,
42− /* 4 was the experimental IOCB_CMD_PREADX */
43− IOCB_CMD_POLL = 5,
42+ /* These two are experimental.
43+ * IOCB_CMD_PREADX = 4,
44+ * IOCB_CMD_POLL = 5,
45+ */
4446 IOCB_CMD_NOOP = 6,
4547 IOCB_CMD_PREADV = 7,
4648 IOCB_CMD_PWRITEV = 8,
include/uapi/linux/nbd.h+3−0
@@ -53,6 +53,9 @@ enum { · 52 unmodified lines
5353 /* These are client behavior specific flags. */
5454 #define NBD_CFLAG_DESTROY_ON_DISCONNECT (1 << 0) /* delete the nbd device on
5555 disconnect. */
56+#define NBD_CFLAG_DISCONNECT_ON_CLOSE (1 << 1) /* disconnect the nbd device on
57+ * close by last opener.
58+ */
5659
5760 /* userspace doesn't need the nbd_device structure */
5861
include/uapi/linux/target_core_user.h+3−1
@@ -44,6 +44,7 @@ · 43 unmodified lines
4444 #define TCMU_MAILBOX_VERSION 2
4545 #define ALIGN_SIZE 64 /* Should be enough for most CPUs */
4646 #define TCMU_MAILBOX_FLAG_CAP_OOOC (1 << 0) /* Out-of-order completions */
47+#define TCMU_MAILBOX_FLAG_CAP_READ_LEN (1 << 1) /* Read data length */
4748
4849 struct tcmu_mailbox {
4950 __u16 version;
@@ -71,6 +72,7 @@ struct tcmu_cmd_entry_hdr { · 21 unmodified lines
7172 __u16 cmd_id;
7273 __u8 kflags;
7374 #define TCMU_UFLAG_UNKNOWN_OP 0x1
75+#define TCMU_UFLAG_READ_LEN 0x2
7476 __u8 uflags;
7577
7678 } __packed;
@@ -119,7 +121,7 @@ struct tcmu_cmd_entry { · 42 unmodified lines
119121 __u8 scsi_status;
120122 __u8 __pad1;
121123 __u16 __pad2;
122− __u32 __pad3;
124+ __u32 read_len;
123125 char sense_buffer[TCMU_SENSE_BUFFERSIZE];
124126 } rsp;
125127 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t