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