external bitmaps on block devices?

external bitmaps on block devices?

am 23.08.2011 05:51:55 von Christoph Hellwig

Is there any specific reason to require the external bitmap to be on
a file? Currently the code requires regular files to call bmap on them,
which is a fairly dangerous thing to start with. But why don't we just
allow using block devices to store the bitmap directly?
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: external bitmaps on block devices?

am 23.08.2011 06:04:37 von NeilBrown

On Mon, 22 Aug 2011 23:51:55 -0400 Christoph Hellwig
wrote:

> Is there any specific reason to require the external bitmap to be on
> a file? Currently the code requires regular files to call bmap on them,
> which is a fairly dangerous thing to start with. But why don't we just
> allow using block devices to store the bitmap directly?

No, no specific reason.
The original requirement was for storage in a file so that is that was
focused on.
I can see no reason not to add support for storing directly to a block device.

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html