xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* pvSCSI question - can a gref describe more than one page?
@ 2010-03-10  3:18 James Harper
  2010-03-10 19:18 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 4+ messages in thread
From: James Harper @ 2010-03-10  3:18 UTC (permalink / raw)
  To: xen-devel

Porting the pvSCSI backend driver to the pvops kernel is turning out to
be a bit harder than first thought, mostly because all the Linux
routines that might be useful are written with the assumption that they
would be passed a mapped buffer and they would then build an sg list out
of that. pvSCSI already has an sg list, and all the routines that it
makes use of have been deprecated since 2.6.18 (all the comments on the
patches that remove the routines are like "nobody uses this anymore".
D'oh.)

The big complication appears to be that pvSCSI seems to think that an
individual sg element can span a page, and so has to muck around
splitting it into page-sized chunks. My assumption is that this is
because the code in pvSCSI was cut&pasted from somewhere else.

Can a single grant entry ever describe more than one page?

Thanks

James

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-25  9:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10  3:18 pvSCSI question - can a gref describe more than one page? James Harper
2010-03-10 19:18 ` Jeremy Fitzhardinge
2010-03-10 22:17   ` James Harper
2010-03-25  9:55     ` Pasi Kärkkäinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).