Re: [PATCH 15/17] bio/blk-map: kill unused stuff and un-export internalfunctions

From: Boaz Harrosh
Date: Wed Apr 01 2009 - 09:57:11 EST


On 04/01/2009 04:44 PM, Tejun Heo wrote:
> Impact: cleanup, removal of unused / undesirable API
>
> With recent changes, the following functions aren't used anymore.
>
> * bio_{map|copy}_{user|kern}()
> * blk_rq_append_bio()
>

This function is used by drivers/scsi/osd/osd_initiator.c
Currently in mainline. Please use allmodconfig to compile
everything.

> The following functions aren't used outside of block layer.
>
> * bio_add_pc_page()

And also this

> * bio_un{map|copy}_user()
>
> Kill the first group and unexport the second. As bio_add_pc_page() is
> used only inside fs/bio.c, it's made static.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

I've posted propositions on how to fix osd_initiator.c which
involves making blk_map_kern() append to the request, and a new
blk_make_request(bio).

Any suggestions are welcome

Thanks
Boaz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/