Posted Mar 27, 2003 8:57 UTC (Thu) by axboe
Parent article: Driver porting: the BIO structure
Good article, but one thing needs to be corrected concerning the use of bi_private. This field is _owned_ by whoever owns the bio, so it's definitely not for free use by the block driver (unless the block driver itself allocated the bio, of course)! In fact, this is a very important point as otherwise stacking drivers cannot work properly.
So in short, you may only look/modify bi_private if you are the owner of the bio.
to post comments)