Physbio changes final call for tests and reviews
kostikbel at gmail.com
Sun Feb 3 16:11:56 UTC 2013
On Sun, Feb 03, 2013 at 04:57:18PM +0100, Marius Strobl wrote:
> On Sat, Feb 02, 2013 at 06:33:22PM +0200, Konstantin Belousov wrote:
> > Hi,
> > I finished the last (insignificant) missed bits in the Jeff' physbio
> > work. Now I am asking for the last round of testing and review, esp. for
> > the !x86 architectures. Another testing focus are the SCSI HBAs and RAID
> > controllers which drivers are changed by the patchset. Please do test
> > this before the patchset is committed into HEAD !
> > The plan is to commit the patch somewhere in two weeks from this moment.
> > The patch is required for the finalizing of the unmapped I/O work for UFS
> > I did in parallel, which I hope to finish shortly after the commit.
> > Patch is available at http://people.freebsd.org/~kib/misc/physbio.5.diff
> Once you bring in said UFS changes, will the use of bus_dmamap_load_ccb(9)
> be a requirement for disk controller drivers?
Generally speaking, no. I plan to do the gradual migration of the drivers,
definitely not forcing the unmapped bios down to the drivers which are
not tested yet. In the patch, driver indicates the support for unmapped
bios by a DISKFLAG. If flag is set, driver could receive both mapped
and unmapped bios, and use of the bus_dmamap_load_ccb(), while formally
is only convenience, is essentially the requirement.
If driver does not set the flag, it receives the same i/o requests as
it does now. Geom performs transient compat mapping for the unmapped
requests on its own for such drivers. As result, driver does not need
My plan is to convert ahci(4) and then some often used high-profile drivers
like mfi(4) and mps(4). I can also hope for isci(4) help.
Everything else, IMO, could be done on the best efforts basis, when both
developers time and testing facilities are available. Jeff wanted to do
all driver conversion in one pass, but IMO this is unrealistic. Still, I
started write some helpers which should provide the transient one-page
mappings for PIO modes.
You can look at some previous version of the unmapped patch at
http://people.freebsd.org/~kib/misc/unmapped.8.patch. It only contain a
hack for ahci(4), which should be fixed properly after physbio is committed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 834 bytes
Desc: not available
More information about the freebsd-current