lkml.org 
[lkml]   [2009]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] char/raw.c locking on error
Date
Jonathan Corbet <corbet@lwn.net> wrote:
> Michael Tokarev <mjt@tls.msk.ru> 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.



\
 
 \ /
  Last update: 2009-03-28 00:57    [W:0.037 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site