* [devel] I: linux/raw.h is no more
@ 2021-08-31 7:51 ` Dmitry V. Levin
2021-08-31 8:07 ` [devel] I: linux/raw.h is no more available Alexey V. Vissarionov
2021-08-31 9:50 ` [devel] I: linux/raw.h is no more Vitaly Lipatov
0 siblings, 2 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2021-08-31 7:51 UTC (permalink / raw)
To: ALT Devel discussion list
On Tue, Aug 31, 2021 at 06:48:05AM +0000, ALT beekeeper wrote:
> fio-3.26-alt1
> from crc/crc32c-arm64.c:2:
> crc/../os/os-linux.h:17:10: fatal error: linux/raw.h: No such file or directory
> 17 | #include <linux/raw.h>
>
> util-linux-2.37.2-alt1
> checking for syscall pivot_root... SYS_pivot_root
> configure: error: raw selected, but required raw.h header file not available
В linux 5.14 больше нет <linux/raw.h>, см.
https://git.kernel.org/torvalds/c/603e4922f1c8
--
ldv
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] I: linux/raw.h is no more available
2021-08-31 7:51 ` [devel] I: linux/raw.h is no more Dmitry V. Levin
@ 2021-08-31 8:07 ` Alexey V. Vissarionov
2021-08-31 8:22 ` Alexey Gladkov
2021-08-31 9:50 ` [devel] I: linux/raw.h is no more Vitaly Lipatov
1 sibling, 1 reply; 4+ messages in thread
From: Alexey V. Vissarionov @ 2021-08-31 8:07 UTC (permalink / raw)
To: ALT Linux Team development discussions
On 2021-08-31 10:51:39 +0300, Dmitry V. Levin wrote:
>> fio-3.26-alt1
>> from crc/crc32c-arm64.c:2:
>> crc/../os/os-linux.h:17:10: fatal error: linux/raw.h:
>> No such file or directory
>> 17 | #include <linux/raw.h>
>> util-linux-2.37.2-alt1
>> checking for syscall pivot_root... SYS_pivot_root
>> configure: error: raw selected, but required raw.h
>> header file not available
> В linux 5.14 больше нет <linux/raw.h>, см. https://git.kernel.org/torvalds/c/603e4922f1c8
Дим, а что тебе помешало процитировать оттуда буквально пару
строчек?
remove the raw driver
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.
Или даже `man raw`:
NOTES
Rather than using raw devices applications should prefer open(2)
devices, such as /dev/sda1, with the O_DIRECT flag.
Всем (даже тем, кто этим никогда не интересовался) сразу было бы
понятно, что вместо /dev/raw* следует использовать O_DIRECT
--
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] I: linux/raw.h is no more available
2021-08-31 8:07 ` [devel] I: linux/raw.h is no more available Alexey V. Vissarionov
@ 2021-08-31 8:22 ` Alexey Gladkov
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Gladkov @ 2021-08-31 8:22 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Tue, Aug 31, 2021 at 11:07:44AM +0300, Alexey V. Vissarionov wrote:
> On 2021-08-31 10:51:39 +0300, Dmitry V. Levin wrote:
> >> fio-3.26-alt1
> >> from crc/crc32c-arm64.c:2:
> >> crc/../os/os-linux.h:17:10: fatal error: linux/raw.h:
> >> No such file or directory
> >> 17 | #include <linux/raw.h>
> >> util-linux-2.37.2-alt1
> >> checking for syscall pivot_root... SYS_pivot_root
> >> configure: error: raw selected, but required raw.h
> >> header file not available
> > В linux 5.14 больше нет <linux/raw.h>, см. https://git.kernel.org/torvalds/c/603e4922f1c8
>
> Дим, а что тебе помешало процитировать оттуда буквально пару
> строчек?
Наверное, потому что всё и так было понятно.
> remove the raw driver
>
> 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.
>
> Или даже `man raw`:
>
> NOTES
> Rather than using raw devices applications should prefer open(2)
> devices, such as /dev/sda1, with the O_DIRECT flag.
Алексей, а что помешало перевести эти строчки (вдруг кто-то не только
браузером не обладает, но и английским не владеет) ?
> Всем (даже тем, кто этим никогда не интересовался) сразу было бы
> понятно, что вместо /dev/raw* следует использовать O_DIRECT
--
Rgrds, legion
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] I: linux/raw.h is no more
2021-08-31 7:51 ` [devel] I: linux/raw.h is no more Dmitry V. Levin
2021-08-31 8:07 ` [devel] I: linux/raw.h is no more available Alexey V. Vissarionov
@ 2021-08-31 9:50 ` Vitaly Lipatov
1 sibling, 0 replies; 4+ messages in thread
From: Vitaly Lipatov @ 2021-08-31 9:50 UTC (permalink / raw)
To: ALT Linux Team development discussions
Dmitry V. Levin писал 31.8.21 10:51:
> On Tue, Aug 31, 2021 at 06:48:05AM +0000, ALT beekeeper wrote:
>> fio-3.26-alt1
>> from crc/crc32c-arm64.c:2:
>> crc/../os/os-linux.h:17:10: fatal error: linux/raw.h: No such file or
>> directory
>> 17 | #include <linux/raw.h>
Спасибо!
В релиз fio не вошло, но я добавил патч, удаляющий поддержку raw device,
который они уже сделали.
...
> В linux 5.14 больше нет <linux/raw.h>, см.
> https://git.kernel.org/torvalds/c/603e4922f1c8
--
С уважением,
Виталий Липатов,
ALT Linux Team
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-31 9:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 7:51 ` [devel] I: linux/raw.h is no more Dmitry V. Levin
2021-08-31 8:07 ` [devel] I: linux/raw.h is no more available Alexey V. Vissarionov
2021-08-31 8:22 ` Alexey Gladkov
2021-08-31 9:50 ` [devel] I: linux/raw.h is no more Vitaly Lipatov
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git