Thread (50 messages) 50 messages, 8 authors, 2012-09-03

Re: [PATCH v6 08/13] block: Add an explicit bio flag for bios that own their bvec

From: Adrian Bunk <hidden>
Date: 2012-08-22 17:43:59
Also in: dm-devel, lkml

On Wed, Aug 22, 2012 at 10:04:05AM -0700, Kent Overstreet wrote:
quoted hunk ↗ jump to hunk
...
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -117,6 +117,7 @@ struct bio {
  * BIO_POOL_IDX()
  */
 #define BIO_RESET_BITS	12
+#define BIO_OWNS_VEC	12	/* bio_free() should free bvec */
...
This doesn't look right.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help