Re: POSIX_FADV_DONTNEED

From: Andrew Morton
Date: Thu Aug 14 2008 - 05:17:52 EST


On Fri, 1 Aug 2008 17:05:39 +0200 "Trevor Woollacott [ MTN - Innovation Centre ]" <Woolla_T@xxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/