Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189728
b: refs/heads/master
c: 181fdde
h: refs/heads/master
v: v3
  • Loading branch information
Richard Kennedy authored and Jens Axboe committed Mar 19, 2010
1 parent 8a5585b commit 2a62a2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b4b7a4ef097f288f724420b473dbf92a89c0ab7e
refs/heads/master: 181fdde3b4268cb7b4af76ba6337e7ec8accbb36
11 changes: 6 additions & 5 deletions trunk/include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,18 @@ enum rq_flag_bits {
struct request {
struct list_head queuelist;
struct call_single_data csd;
int cpu;

struct request_queue *q;

unsigned int cmd_flags;
enum rq_cmd_type_bits cmd_type;
unsigned long atomic_flags;

int cpu;

/* the following two fields are internal, NEVER access directly */
sector_t __sector; /* sector cursor */
unsigned int __data_len; /* total data len */
sector_t __sector; /* sector cursor */

struct bio *bio;
struct bio *biotail;
Expand Down Expand Up @@ -201,20 +202,20 @@ struct request {

unsigned short ioprio;

int ref_count;

void *special; /* opaque pointer available for LLD use */
char *buffer; /* kaddr of the current segment if available */

int tag;
int errors;

int ref_count;

/*
* when request is used as a packet command carrier
*/
unsigned short cmd_len;
unsigned char __cmd[BLK_MAX_CDB];
unsigned char *cmd;
unsigned short cmd_len;

unsigned int extra_len; /* length of alignment and padding */
unsigned int sense_len;
Expand Down

0 comments on commit 2a62a2a

Please sign in to comment.