cvs commit: src/sys/geom/stripe g_stripe.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Aug 6 02:55:41 PDT 2004


pjd         2004-08-06 09:55:40 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/stripe      g_stripe.c 
  Log:
  Fix I/O leakage. We're cloning bios in g_stripe_start_fast(), but when
  something goes wrong while running in "fast" mode, we free all bios and
  falling back to "economic" mode. Freeing bios, doesn't mean decrease
  bio_children, so bio_inbed couldn't be equal to bio_children and request
  was never finished.
  Decrease bio_children manually when destroying bios.
  
  Reported by:    Sam Lawrance <boris at brooknet.com.au>, simon
  
  Revision  Changes    Path
  1.9       +2 -0      src/sys/geom/stripe/g_stripe.c


More information about the cvs-src mailing list