Name

blk_queue_ordered — does this queue support ordered writes

Synopsis

void blk_queue_ordered (request_queue_t * q, int flag);

Arguments

q

the request queue

flag

see below

Description

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.