On 07/09/2012 11:02 PM, Christoph Hellwig wrote: > On Mon, Jul 09, 2012 at 05:58:10PM -0700, Andy Grover wrote: >> Other backstores open backing devices in exclusive mode, fileio should as >> well. > > O_EXCL doesn't really provide an exclusion once the file is opened, it > just means the caller has to create the file and it can't exist > beforehand. > > I don't think that's the semantics fileio needs. OK, should userspace just check no other fileio storageobjects exist with that same backing file? Not quite as clean since there still are ways to get around that, but it would at least prevent user errors for those using rtslib. -- Andy -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html