Re: BIO_FLUSH on twe driver. Why is it not there?



Artem Kuchin wrote:
7-BETA1
gjournal complained that BIO_FLUSH is not supported by the driver. That is twe driver.
However, twe is working via scsi subsystem and the authour of gjournal said somewhere that he
has had implemeneted BIO_FLISH for scsi and he specifically mentioned that he has tested twe and twa and they both support BIO_FLUSH.
Then why BIO_FLISH is not supported now?


The twe driver does NOT operate under the SCSI subsystem. As for
flush semantics in SCSI, they are much better done with ordered tags,
not explicit SYNC_CACHE commands. That's not to say that SYNC_CACHE
won't work (well, except for random devices that will hang with it in
unpredictable ways, but no one seems to care about that little detail).
Unfortunately, BIO_ORDERED was removed from the FreeBSD block layer
several years ago.

Scott

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • BIO_FLUSH on twe driver. Why is it not there?
    ... That is twe driver. ... twe is working via scsi subsystem and the authour of gjournal said somewhere that he ... has had implemeneted BIO_FLISH for scsi and he specifically mentioned that he has tested twe and twa and they both support BIO_FLUSH. ...
    (freebsd-current)
  • Re: BIO_FLUSH on twe driver. Why is it not there?
    ... That is twe driver. ... twe is working via scsi subsystem and the authour of gjournal said somewhere that he ... that he has tested twe and twa and they both support BIO_FLUSH. ...
    (freebsd-current)
  • 2.6.15.1: persistent nasty hang in sync_page killing NFS (ne2k-pci / DP83815-related?), i686
    ... the SCSI controller and disks and moving them over to a new machine. ... although md is configured in the new .config, ... the hardware is blameless here. ... # ACPI Support ...
    (Linux-Kernel)
  • [2.6.15 / sata_mv] Oops!
    ... Hardware: 8 SATA drives spread across two MV88SX50x1 controllers built into motherboard. ... 03:01.0 SCSI storage controller: Marvell Technology Group Ltd. ... abnormal status 0xD0 on port 0xF90A211C ... # ACPI Support ...
    (Linux-Kernel)
  • Re: test10, hangs at aic79xx probing
    ... well at the same point without having SCSI devices initialized. ... Linux Plug and Play Support v0.97 Adam Belay ... # Device Drivers ...
    (Linux-Kernel)