The raw driver used to provide direct unbuffered access to block devices before O_DIRECT was invented. It has been obsolete for more than a decade.
Showing the changes to include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -1,17 +0,0 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | |
| 2 | −#ifndef __LINUX_RAW_H | |
| 3 | −#define __LINUX_RAW_H | |
| 4 | − | |
| 5 | −#include <linux/types.h> | |
| 6 | − | |
| 7 | −#define RAW_SETBIND _IO( 0xac, 0 ) | |
| 8 | −#define RAW_GETBIND _IO( 0xac, 1 ) | |
| 9 | − | |
| 10 | −struct raw_config_request | |
| 11 | −{ | |
| 12 | − int raw_minor; | |
| 13 | − __u64 block_major; | |
| 14 | − __u64 block_minor; | |
| 15 | −}; | |
| 16 | − | |
| 17 | −#endif /* __LINUX_RAW_H */ | |