lkml.org 
[lkml]   [2008]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: POSIX_FADV_DONTNEED
Date
From

Thanks for the response Andrew. Is there a way to check when the cached
data has been freed after fadvise has been called?

-----Original Message-----
From: Andrew Morton [mailto:akpm@linux-foundation.org]
Sent: Thursday, 14 August 2008 11:17 AM
To: Trevor Woollacott [ MTN - Innovation Centre ]
Cc: linux-kernel@vger.kernel.org
Subject: Re: POSIX_FADV_DONTNEED

On Fri, 1 Aug 2008 17:05:39 +0200 "Trevor Woollacott [ MTN - Innovation
Centre ]" <Woolla_T@mtn.co.za> wrote:

>
> Hi all
>
> Does anyone know if posix_fadvise() with POSIX_FADV_DONTNEED is
> blocking/unblocking?

It tries to be nonblocking and will mostly succeed in that. It might
occasionally block on a metadata read or journal congestion or
something, so it isn't guaranteed.


NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www.mtn.co.za/default.aspx?pid=34411


\
 
 \ /
  Last update: 2008-08-14 12:29    [W:0.054 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site