Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Oleg Drokin                          2:5020/400     26 Apr 2003  14:16:10
 To : Alex Korchmar
 Subject : Re: дисковые буферы
 -------------------------------------------------------------------------------- 
 
 Hello!
 
 Alex Korchmar <alx@e-moe.ru> wrote:
 
 OD>> Соответственно man 2 open на предмет O_DIRECT
 AK> % env PAGER=more man 2 open | grep 'O.*_.*D.*I.*R.*E'
 AK>        O_DIRECTORY
 AK>                not, in fact,  a  directory,  or  O_DIRECTORY  was
 AK> % 
 AK> Я что-то не так делаю?
 
 Старые маны? ;)
        O_DIRECT
               Try  to  minimize  cache effects of the I/O to and from this file.
 In general this will degrade perforЅ
               mance, but it is useful in special situations, such as when
 applications do their own caching.  File I/O
               is  done  directly  to/from  user space buffers.  The I/O is
 synchronous, i.e., at the completion of the
               read(2) or write(2) system call, data is guaranteed to have been
 transferred.  Transfer sizes,  and  the
               alignment  of  user  buffer  and file offset must all be multiples
 of the logical block size of the file
               system.
               This flag is supported on a number of Unix-like systems; support
 was added under Linux in kernel version
               2.4.10.
               A semantically similar interface for block devices is described in
 raw(8).
 
 > rpm -qa | grep man-pa
 
 man-pages-1.56-6
 
 Bye,
     Oleg
 --- ifmail v.2.15dev5
  * Origin: Green's home news server (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: дисковые буферы   Oleg Drokin   26 Apr 2003 11:21:36 
 Re: дисковые буферы   Alex Korchmar   26 Apr 2003 13:07:56 
 Re: дисковые буферы   Oleg Drokin   26 Apr 2003 14:16:10 
 Re: дисковые буферы   Alex Korchmar   26 Apr 2003 20:03:50 
 Re: дисковые буферы   Oleg Drokin   26 Apr 2003 22:45:42 
 Re: дисковые буферы   Alex Korchmar   28 Apr 2003 13:19:41 
Архивное /ru.linux/1555002a25896.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional