Re: Write cache on SATA drives?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jens Axboe <axboe@xxxxxxx> writes:

>> Hm. Any buzz^Wkeywords to look for? "barrier" doesn't seem to be the
>> right word, it yields only memory barriers and an as-iosched fix in
>> 2.6.7.  I checked ChangeLog-2.6.[56789].
>
> Grep for blk_queue_ordered or similar in the patch.

patch-2.6.9 adds this function -- and a call to it to ide-disk.c. Have
reiserfs and ext3fs supported this from the very beginning (i. e. 2.6.9)
or is this an issue that affected only the lower layers anyhow?

/**
 * blk_queue_ordered - does this queue support ordered writes
 * @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.
 *
 **/
void blk_queue_ordered(request_queue_t *q, int flag)
...

-- 
Matthias Andree
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux