Re: Add a mountlist iterator

2017-04-01 Thread Taylor R Campbell
> Date: Thu, 30 Mar 2017 11:21:41 +0200 > From: "J. Hannken-Illjes" > > Plan is to untangle the mountlist processing from vfs_busy() / vfs_unbusy() > and add an iterator for the mountlist: Generally seems like a good idea to me! > - void

Re: Exposing FUA as alternative to DIOCCACHESYNC for WAPBL

2017-04-01 Thread Thor Lancelot Simon
On Sat, Apr 01, 2017 at 06:46:24PM +0200, Michael van Elst wrote: > On Sat, Apr 01, 2017 at 11:12:42AM -0400, Thor Lancelot Simon wrote: > > > That said, very high-latency transports like iSCSI require a lot more > > data than we can put into flight at once. We just don't have enough > >

Re: Exposing FUA as alternative to DIOCCACHESYNC for WAPBL

2017-04-01 Thread Thor Lancelot Simon
On Sat, Apr 01, 2017 at 08:54:40AM +, Michael van Elst wrote: > t...@panix.com (Thor Lancelot Simon) writes: > > >When SCSI tagged queueing is used properly, it is not necessary to set WCE > >to get good write performance, and doing so is in fact harmful, since it > >allows the drive to

Re: Exposing FUA as alternative to DIOCCACHESYNC for WAPBL

2017-04-01 Thread Michael van Elst
t...@panix.com (Thor Lancelot Simon) writes: >When SCSI tagged queueing is used properly, it is not necessary to set WCE >to get good write performance, and doing so is in fact harmful, since it >allows the drive to return ORDERED commands as complete before any of the >data for those or prior

Re: Exposing FUA as alternative to DIOCCACHESYNC for WAPBL

2017-04-01 Thread Jaromír Doleček
2017-03-31 22:16 GMT+02:00 Thor Lancelot Simon : > It's not obvious, but in fact ORDERED gets set for writes > as a default, I believe -- in sd.c, I think? > > This confused me for some time when I last looked at it. It confused me also, that's why I changed the code a while back