Re: broken device locking, sg vs. sg_io on block devices

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eduard Bloch
Date: Wednesday, April 11, 2007 - 3:12 am

#include <hallo.h>
* Eduard Bloch [Sat, Apr 07 2007, 01:21:31PM]:


Excuse me, but is there ANYBODY willing to give a binding statement on
that? First you tell "us CD writing guys" to manage that in user space
[1] and when we get real critical questions then everything we get is
radio silence? Very kindly. NOT.

Background: there are two good ways we can go:

a) carefully collecting device properties, mapping and opening
   additional devices
b) additional lockfiles delegating the locking operations

Unfortunately b leads to major problems in practice, while a looks
more promising but need a guarantee that it will be kept be working and
harmless in the future kernel releases. We need to know that before
moving on to missionary work.

Regards,
Eduard.

[1] which IMO still sucks because it's allowed to have device driver
access from any file, thus dealing locking problems at file level is
like fighting a hydra. And with multiple semi-autonomous drivers for the
same hardware even the previous silver bullet (O_EXCL) does not help.

-- 
Ich bin bereit überall hinzugehen, wenn es nur vorwärts ist.
		-- David Livingstone
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
broken device locking, sg vs. sg_io on block devices, Eduard Bloch, (Fri Mar 30, 4:17 am)
Re: broken device locking, sg vs. sg_io on block devices, Christoph Hellwig, (Fri Mar 30, 6:43 am)
Re: broken device locking, sg vs. sg_io on block devices, Jan Engelhardt, (Fri Mar 30, 12:09 pm)
Re: broken device locking, sg vs. sg_io on block devices, Eduard Bloch, (Sat Mar 31, 10:07 am)
Re: broken device locking, sg vs. sg_io on block devices, Eduard Bloch, (Wed Apr 11, 3:12 am)