blk_queue_ordered(9)

blk_queue_ordered9

Does this queue support ordered writes

Usage

int blk_queue_ordered(struct request_queue * q, unsigned ordered, prepare_flush_fn * prepare_flush_fn);

Arguments

q

the request queue

ordered

one of QUEUE_ORDERED_*

prepare_flush_fn

rq setup helper for cache flush ordered writes

Overview

For journalled file systems, doing ordered writes on a commit block instead of explicitly doing wait_on_buffer (which is bad for performance) can be a big win. Block drivers supporting this feature should call this function and indicate so.

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.