Displaying 1 result from an estimated 1 matches for "rpdu".
Did you mean:
radu
2008 Sep 10
0
[RFC][PATCH -mm] blktrace: adds ioprio to blktrace
...eric
if (bio)
blk_add_trace_bio(q, bio, what);
else
- __blk_add_trace(bt, 0, 0, rw, what, 0, 0, NULL);
+ __blk_add_trace(bt, 0, 0, rw, what, 0, 0, 0, NULL);
}
/**
@@ -274,14 +277,17 @@ static inline void blk_add_trace_pdu_int
{
struct blk_trace *bt = q->blk_trace;
__be64 rpdu = cpu_to_be64(pdu);
+ unsigned short ioprio = 0;
if (likely(!bt))
return;
- if (bio)
- __blk_add_trace(bt, bio->bi_sector, bio->bi_size, bio->bi_rw, what, !bio_flagged(bio, BIO_UPTODATE), sizeof(rpdu), &rpdu);
- else
- __blk_add_trace(bt, 0, 0, 0, what, 0, sizeof(rpdu), &...