Re: [PATCH 4/5] block: make blkdev_get/put() handle exclusive access

From: Christoph Hellwig
Date: Tue Nov 09 2010 - 05:36:43 EST


On Tue, Nov 09, 2010 at 11:34:06AM +0100, Tejun Heo wrote:
> So, after the above points, I decided to keep @mode. It is a bit
> awkward but the other way didn't seem too hip either. Any better
> ideas?

Let's keep it for now and revisit it later.

> That will make the number of functions multiplied by two -
> blkdev_get_by_path_stacked() and blkdev_get_by_dev_stacked(). The
> symlinking for stacked drivers is an oddball feature which is and will
> be only used by md and dm. So, I think it's better to keep it
> separate and oddball.

Oh well. I still don't like it, but let keeps it simple to make
progress for now.

--
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/