hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/target/target_core_xcopy.h
....@@ -5,7 +5,7 @@
55 #define XCOPY_TARGET_DESC_LEN 32
66 #define XCOPY_SEGMENT_DESC_LEN 28
77 #define XCOPY_NAA_IEEE_REGEX_LEN 16
8
-#define XCOPY_MAX_SECTORS 1024
8
+#define XCOPY_MAX_SECTORS 4096
99
1010 /*
1111 * SPC4r37 6.4.6.1
....@@ -17,8 +17,6 @@
1717 XCOL_SOURCE_RECV_OP = 0x01,
1818 XCOL_DEST_RECV_OP = 0x02,
1919 };
20
-
21
-struct xcopy_pt_cmd;
2220
2321 struct xcopy_op {
2422 int op_origin;
....@@ -36,11 +34,8 @@
3634 unsigned short stdi;
3735 unsigned short dtdi;
3836 unsigned short nolb;
39
- unsigned int dbl;
4037
41
- struct xcopy_pt_cmd *src_pt_cmd;
42
- struct xcopy_pt_cmd *dst_pt_cmd;
43
-
38
+ u32 xop_data_bytes;
4439 u32 xop_data_nents;
4540 struct scatterlist *xop_data_sg;
4641 struct work_struct xop_work;