* external bitmaps on block devices?
@ 2011-08-23 3:51 Christoph Hellwig
2011-08-23 4:04 ` NeilBrown
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2011-08-23 3:51 UTC (permalink / raw)
To: linux-raid
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: external bitmaps on block devices?
2011-08-23 3:51 external bitmaps on block devices? Christoph Hellwig
@ 2011-08-23 4:04 ` NeilBrown
0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2011-08-23 4:04 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-raid
On Mon, 22 Aug 2011 23:51:55 -0400 Christoph Hellwig <hch@infradead.org>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-23 4:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23 3:51 external bitmaps on block devices? Christoph Hellwig
2011-08-23 4:04 ` NeilBrown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).