From owner-freebsd-arch@FreeBSD.ORG Sat Oct 29 01:21:18 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id B2D0B106566C; Sat, 29 Oct 2011 01:21:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 8F8621504E9; Sat, 29 Oct 2011 01:21:18 +0000 (UTC) Message-ID: <4EAB550E.3060603@FreeBSD.org> Date: Fri, 28 Oct 2011 18:21:18 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: John Baldwin References: <201110281426.00013.jhb@freebsd.org> In-Reply-To: <201110281426.00013.jhb@freebsd.org> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org Subject: Re: [PATCH] fadvise(2) system call X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 01:21:18 -0000 On 10/28/2011 11:25, John Baldwin wrote: > You can read the description of posix_fadvise() (which this implements) here: If you want a real-world consumer of posix_fadvise you can take a look at net-p2p/libtorrent-rasterbar15. The code is ifdef'ed out for FreeBSD because we don't have that yet, but it should be obvious how to re-enable it. There are a few clients that use that lib, qbittorrent is probably the most straightforward. hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/