Linux 5.14 Set To Retire The Long-Deprecated RAW Driver For Direct I/O Access

The RAW driver has allowed for direct unbuffered I/O to block devices for the Linux kernel but it hasn't been relevant in well over a decade since using the O_DIRECT flag when opening a block device can achieve the same behavior. The block devices in the raw mode were exposed through /dev/raw/. While O_DIRECT has been the preferred approach, some legacy workloads weren't maintained/unable to just use the O_DIRECT approach that led to the RAW driver being obsolete for all this time.
Now queued this past week into char-misc-next is finally removing the RAW driver.
Any impact should be fairly minimal and a surprise at this point, but just more old kernel cruft finally getting removed to focus on the modern interfaces.
Add A Comment