search for: flush_flag

Displaying 3 results from an estimated 3 matches for "flush_flag".

Did you mean: flush_flags
2011 Sep 09
7
[PATCH] xen-blk[front|back] FUA additions.
I am proposing these two patches for 3.2. They allow the backend to process the REQ_FUA request as well. Previous to these patches it only did REQ_FLUSH. There is also a bug-fix for the logic of how barrier/flushes were handled. The patches are based on a branch which also has ''feature-discard'' patches, so they won''t apply nativly on top of 3.1-rc5. Please review and
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...tted. Analyze what needs to be done and put it on the * right queue. * * CONTEXT: * spin_lock_irq(q->queue_lock) */ void blk_insert_flush(struct request *rq) { - struct request_queue *q = rq->q; + struct request_queue *q = rq->queue_ctx->queue; unsigned int fflags = q->flush_flags; /* may change, cache */ unsigned int policy = blk_flush_policy(fflags, rq); /* * @policy now records what operations need to be done. Adjust * REQ_FLUSH and FUA for the driver. */ rq->cmd_flags &= ~REQ_FLUSH; if (!(fflags & REQ_FUA)) diff --git a/block/blk-map.c b/b...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...tted. Analyze what needs to be done and put it on the * right queue. * * CONTEXT: * spin_lock_irq(q->queue_lock) */ void blk_insert_flush(struct request *rq) { - struct request_queue *q = rq->q; + struct request_queue *q = rq->queue_ctx->queue; unsigned int fflags = q->flush_flags; /* may change, cache */ unsigned int policy = blk_flush_policy(fflags, rq); /* * @policy now records what operations need to be done. Adjust * REQ_FLUSH and FUA for the driver. */ rq->cmd_flags &= ~REQ_FLUSH; if (!(fflags & REQ_FUA)) diff --git a/block/blk-map.c b/b...