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
40
struct
m0_stob_ioq_error
{
41
42
/* stob info */
43
45
struct
m0_fid
sie_conf_sdev
;
47
struct
m0_stob_id
sie_stob_id
;
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
;
56
m0_bindex_t
sie_offset
;
57
m0_bcount_t
sie_size
;
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
*/
fid.h
types.h
m0_stob_ioq_error::sie_bshift
uint32_t sie_bshift
Definition:
ioq_error.h:58
m0_stob_ioq_error::sie_size
m0_bcount_t sie_size
Definition:
ioq_error.h:57
m0_stob_ioq_error::sie_conf_sdev
struct m0_fid sie_conf_sdev
Definition:
ioq_error.h:45
m0_bindex_t
uint64_t m0_bindex_t
Definition:
types.h:80
m0_bcount_t
uint64_t m0_bcount_t
Definition:
types.h:77
m0_stob_ioq_error::sie_offset
m0_bindex_t sie_offset
Definition:
ioq_error.h:56
M0_XCA_DOMAIN
struct m0_stob_ioq_error M0_XCA_DOMAIN(rpc)
m0_stob_id
Definition:
stob.h:101
m0_stob_ioq_error::sie_fd
int64_t sie_fd
Definition:
ioq_error.h:49
m0_stob_ioq_error::sie_stob_id
struct m0_stob_id sie_stob_id
Definition:
ioq_error.h:47
m0_stob_ioq_error
Definition:
ioq_error.h:40
m0_fid
Definition:
fid.h:38
m0_stob_ioq_error::sie_opcode
int64_t sie_opcode
Definition:
ioq_error.h:54
stob.h
m0_stob_ioq_error::sie_rc
int64_t sie_rc
Definition:
ioq_error.h:55
io.h
stob
ioq_error.h
Generated on Thu Apr 14 2022 14:03:00 for Motr by
1.8.14