Re: [patch] char/raw.c locking on error

From: Bodo Eggert
Date: Fri Mar 27 2009 - 19:54:07 EST


Jonathan Corbet <corbet@xxxxxxx> wrote:
> Michael Tokarev <mjt@xxxxxxxxxx> wrote:

>> Is it still in use - the raw driver, that is? Nowadays,
>> every block device can be opened in direct mode by using
>> O_DIRECT - this is what raw does. I mean, is it worth
>> spending even more time on it?

As long as you don't fix all the legacy applications to use O_DIRECT.

> This was discussed a while back. My understanding is that there are
> people using it. It is a user-space ABI of sorts which can't just be
> yanked arbitrarily. The right thing to do is probably to replace it
> with a shell implementation that just opens the device using O_DIRECT,
> but nobody has actually done that...

It had long been done when before it was discussed the last time.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/