From: Pavel Machek <pavel@ucw.cz>
To: Zachary Amsden <zamsden@redhat.com>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
axboe@kernel.dk, hch@infradead.org, akpm@linux-foundation.org,
Paul.Clements@steeleye.com, tytso@mit.edu
Subject: Re: [PATCH] Allow userspace block device implementation
Date: Fri, 7 Aug 2009 20:08:42 +0200 [thread overview]
Message-ID: <20090807180841.GC1728@ucw.cz> (raw)
In-Reply-To: <4A6D79F6.3050509@redhat.com>
Hi!
> Well, it may be a good, bad, idiotic or brilliant idea depending on your
> personal philosophy. I went down this route out of pragmatism.
> Hopefully I have not fully re-invented the wheel.
I did, long ago. I called it nbd... aha and you know about it (from
following mails in thread).
> accidental deadlock. There may of course be some hidden deep deadlock
> potential in such a device, especially if one decided to use it as a
> swap device, but again, this is a philosophical issue.
What's philosophical about 'it does not work for swap or dirty mmap'?
(last time I checked, dirty mmap data behaved very much like swap).
(And yes, nbd has same problem. It should be safe for r/o access to
localhost, but may deadlock when it is mounted locally...)
And yes, I believe that's show stopper. OTOH if you _can_ solve
that... then you have some rather significant advantage over nbd.
(But guaranteeing progress for dirty writeout will be tricky even with
mlocked userland, AFAICT...)
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2009-08-08 15:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 9:57 [PATCH] Allow userspace block device implementation Zachary Amsden
2009-07-27 12:56 ` Peter Zijlstra
2009-07-27 13:25 ` Alan Cox
2009-07-27 19:46 ` Zachary Amsden
2009-07-27 20:24 ` Peter Zijlstra
2009-07-27 21:02 ` Alan Cox
2009-07-28 1:21 ` Tejun Heo
2009-07-28 3:53 ` Zachary Amsden
2009-07-28 10:27 ` Alan Cox
2009-07-28 16:00 ` Linus Torvalds
2009-07-28 18:36 ` Kyle Moffett
2009-07-28 18:51 ` Linus Torvalds
2009-07-28 19:07 ` Alan Cox
2009-07-28 19:49 ` Andi Kleen
2009-07-28 20:50 ` Linus Torvalds
2009-07-28 21:09 ` Andi Kleen
2009-07-28 22:56 ` Theodore Tso
2009-08-07 18:08 ` Pavel Machek [this message]
2009-08-10 22:47 ` Zachary Amsden
-- strict thread matches above, loose matches on Subject: below --
2009-07-28 20:37 devzero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090807180841.GC1728@ucw.cz \
--to=pavel@ucw.cz \
--cc=Paul.Clements@steeleye.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
--cc=zamsden@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox