struct bio: mark as complete, but keep data buffer (and protect it from freeing/using)?

Lev Serebryakov lev at serebryakov.spb.ru
Thu Dec 9 19:16:48 UTC 2010


Hello, Freebsd-geom.

  Is   it   possible  to  mark  "struct  bio"  as  complete  (pass  to
  g_io_deliver())  but hold its data buffer, to avoid unnecessary data
  copy?

-- 
// Black Lion AKA Lev Serebryakov <lev at serebryakov.spb.ru>



More information about the freebsd-geom mailing list