flush barriers and SCSI/3w-xxxx with latest 2.6 kernels

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

 



Hi,

I was just enabling flush barriers on machine using a 3ware controller
(by adding barrier=flush to the filesystem options) since this is
working wonderfully here at home.

But when the filesystems are mounted, the filesystems turns them off
because they are unsupported:

Apr  8 19:59:46 websrv2 reiserfs: disabling flush barriers on dm-3

"cat /sys/block/sda/device/queue_type" said "none" instead of ordered.
An "echo 254 > /sys/block/sda/device/queue_length" fixed this, but it
seems that I can't enable this afterwards.

I put back a simple tw_slave_configure method to the 3w-xxxx.c driver
(that calls adjust_queue_depth) and now queue_type shows "ordered" from
the beginning.

But flush barriers are still not working. A quick peek at the code
reveils that scsi_alloc_queue is called before slave_configure.
scsi_alloc_queue calls blk_queue_ordered only there. It's reading
another ordered_tag which is not set.

Why is there an sdev->ordered_tags and another shost->ordered_tag.
Should ordered_tag be set to 1 in driver_template or is this really not
supported?

I am missing something here?

Attachment: signature.asc
Description: This is a digitally signed message part


[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