Motr  M0
ioq_error.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2016-2020 Seagate Technology LLC and/or its Affiliates
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * For any questions about this software or licensing,
18  * please email opensource@seagate.com or cortx-questions@seagate.com.
19  *
20  */
21 
22 
23 #pragma once
24 
25 #ifndef __MOTR_STOB_IOQ_ERROR_H__
26 #define __MOTR_STOB_IOQ_ERROR_H__
27 
28 #include "lib/types.h" /* m0_bindex_t */
29 #include "fid/fid.h" /* m0_fid */
30 #include "stob/stob.h" /* m0_stob_id */
31 #include "stob/io.h" /* m0_stob_io_opcode */
32 #include "stob/stob_xc.h" /* XXX workaround */
33 
41 
42  /* stob info */
43 
49  int64_t sie_fd;
50 
51  /* I/O info */
52 
53  /* enum m0_stob_io_opcode */
54  int64_t sie_opcode;
55  int64_t sie_rc;
58  uint32_t sie_bshift;
59 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
60 
62 #endif /* __MOTR_STOB_IOQ_ERROR_H__ */
63 
64 /*
65  * Local variables:
66  * c-indentation-style: "K&R"
67  * c-basic-offset: 8
68  * tab-width: 8
69  * fill-column: 80
70  * scroll-step: 1
71  * End:
72  */
73 /*
74  * vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
75  */
uint32_t sie_bshift
Definition: ioq_error.h:58
m0_bcount_t sie_size
Definition: ioq_error.h:57
struct m0_fid sie_conf_sdev
Definition: ioq_error.h:45
uint64_t m0_bindex_t
Definition: types.h:80
uint64_t m0_bcount_t
Definition: types.h:77
m0_bindex_t sie_offset
Definition: ioq_error.h:56
struct m0_stob_ioq_error M0_XCA_DOMAIN(rpc)
int64_t sie_fd
Definition: ioq_error.h:49
struct m0_stob_id sie_stob_id
Definition: ioq_error.h:47
Definition: fid.h:38
int64_t sie_opcode
Definition: ioq_error.h:54
int64_t sie_rc
Definition: ioq_error.h:55