WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Reducing impact of save/restore/dump on Dom0

Rusty Russell wrote:
> On Tue, 2007-02-06 at 15:20 -0800, Jeremy Fitzhardinge wrote:
>   
>> O_DIRECT is strongly deprecated.  fadvise(..., FADV_DONTNEED, ...) is
>> the preferred interface.
>>     
>
> Really?  I know raw was deprecated in favour of O_DIRECT.  But you'd
> have to call FADV_DONTNEED after every read AFAICT...
>   

Linus was having a bit of a rant about it last week.  O_DIRECT works for
straightforward use, but it's a bit of a crapshoot if you mix it with
pagecached operations.

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel