#include <linux/module.h>
#include <linux/slab.h>
#include <linux/drbd.h>
#include "drbd_int.h"
#include "drbd_wrappers.h"
Go to the source code of this file.
|
| enum | drbd_req_event {
created,
to_be_send,
to_be_submitted,
queue_for_net_write,
queue_for_net_read,
queue_for_send_oos,
send_canceled,
send_failed,
handed_over_to_network,
oos_handed_to_network,
connection_lost_while_pending,
read_retry_remote_canceled,
recv_acked_by_peer,
write_acked_by_peer,
write_acked_by_peer_and_sis,
conflict_discarded_by_peer,
neg_acked,
barrier_acked,
data_received,
read_completed_with_error,
read_ahead_completed_with_error,
write_completed_with_error,
abort_disk_io,
completed_ok,
resend,
fail_frozen_disk_io,
restart_frozen_disk_io,
nothing
} |
| |
| enum | drbd_req_state_bits {
__RQ_LOCAL_PENDING,
__RQ_LOCAL_COMPLETED,
__RQ_LOCAL_OK,
__RQ_LOCAL_ABORTED,
__RQ_NET_PENDING,
__RQ_NET_QUEUED,
__RQ_NET_SENT,
__RQ_NET_DONE,
__RQ_NET_OK,
__RQ_NET_SIS,
__RQ_NET_MAX,
__RQ_WRITE,
__RQ_IN_ACT_LOG
} |
| |
| #define RQ_IN_ACT_LOG (1UL << __RQ_IN_ACT_LOG) |
| #define RQ_LOCAL_ABORTED (1UL << __RQ_LOCAL_ABORTED) |
| #define RQ_LOCAL_COMPLETED (1UL << __RQ_LOCAL_COMPLETED) |
| #define RQ_LOCAL_OK (1UL << __RQ_LOCAL_OK) |
| #define RQ_LOCAL_PENDING (1UL << __RQ_LOCAL_PENDING) |
| #define RQ_NET_DONE (1UL << __RQ_NET_DONE) |
| #define RQ_NET_MASK (((1UL << __RQ_NET_MAX)-1) & ~RQ_LOCAL_MASK) |
| #define RQ_NET_OK (1UL << __RQ_NET_OK) |
| #define RQ_NET_PENDING (1UL << __RQ_NET_PENDING) |
| #define RQ_NET_QUEUED (1UL << __RQ_NET_QUEUED) |
| #define RQ_NET_SENT (1UL << __RQ_NET_SENT) |
| #define RQ_NET_SIS (1UL << __RQ_NET_SIS) |
| #define RQ_WRITE (1UL << __RQ_WRITE) |
- Enumerator:
| created |
|
| to_be_send |
|
| to_be_submitted |
|
| queue_for_net_write |
|
| queue_for_net_read |
|
| queue_for_send_oos |
|
| send_canceled |
|
| send_failed |
|
| handed_over_to_network |
|
| oos_handed_to_network |
|
| connection_lost_while_pending |
|
| read_retry_remote_canceled |
|
| recv_acked_by_peer |
|
| write_acked_by_peer |
|
| write_acked_by_peer_and_sis |
|
| conflict_discarded_by_peer |
|
| neg_acked |
|
| barrier_acked |
|
| data_received |
|
| read_completed_with_error |
|
| read_ahead_completed_with_error |
|
| write_completed_with_error |
|
| abort_disk_io |
|
| completed_ok |
|
| resend |
|
| fail_frozen_disk_io |
|
| restart_frozen_disk_io |
|
| nothing |
|
Definition at line 79 of file drbd_req.h.
- Enumerator:
| __RQ_LOCAL_PENDING |
|
| __RQ_LOCAL_COMPLETED |
|
| __RQ_LOCAL_OK |
|
| __RQ_LOCAL_ABORTED |
|
| __RQ_NET_PENDING |
|
| __RQ_NET_QUEUED |
|
| __RQ_NET_SENT |
|
| __RQ_NET_DONE |
|
| __RQ_NET_OK |
|
| __RQ_NET_SIS |
|
| __RQ_NET_MAX |
|
| __RQ_WRITE |
|
| __RQ_IN_ACT_LOG |
|
Definition at line 121 of file drbd_req.h.
| void request_timer_fn |
( |
unsigned long |
data | ) |
|