[Nbd] Async writes and NBD's deadlock
- To: nbd-general@lists.sourceforge.net
- Subject: [Nbd] Async writes and NBD's deadlock
- From: "Bogdan Harjoc" <harjoc@...17...>
- Date: Fri, 3 Mar 2006 18:50:19 +0200
- Message-id: <aa1862360603030850p63c30e4emd48f3f6c55d4849f@...18...>
Hi,
It may well be the case that I misunderstood the description
in the README for the uniprocessor deadlock problem, but
from what I can tell, appending NBD_CMD_WRITE requests
to a queue and returning with err=0 immediately instead of
eventually blocking while calling write(2) should avoid the
deadlock (would having to touch the swap device change
anything ?).
Although probably not that useful in general, I would be
grateful for any comments on whether it should work or
not.
Thanks,
Bogdan
Reply to: