From owner-freebsd-arch@FreeBSD.ORG Wed Apr 20 15:33:57 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A640F106566B for ; Wed, 20 Apr 2011 15:33:57 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBE18FC0A for ; Wed, 20 Apr 2011 15:33:56 +0000 (UTC) Received: by wyf23 with SMTP id 23so863936wyf.13 for ; Wed, 20 Apr 2011 08:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=eXKvpWWeg6iHtvO4FfECOBy3Gd54Py6o1VdGWhQ7oZk=; b=KbE4I21KjKkXJkOGSbH3Y/NwXFbt+eZuzu8dS5nqV+LgQJfhsxB7E2/XtHp3n6Ch+t wUAjP9bFMCAEUIxxmoZ5bgzKyuSmKk41zs6VCHLPyN1aJLsjR7ja4CTkeN7WMlO0cfqp 4NAdyqK4ipbTcKYjSduJpRbBQck/JyxEz3Ng4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=a31KAnN+DCfYAZtWv88iCuIrK1jIL8m6bRd+c3Yuh/vl911mjJXtw43nSDnvlsOyVp /EdsuPYh+ROOS8g+H40ZW4Xmhl7B9bmGV1dJaMUYqAbnq0iwOwXFxOhJq6co3azN/h9Y zB8OZJDCsSryInsZjRul42BLcBg2y7ZWPZC4I= MIME-Version: 1.0 Received: by 10.216.134.207 with SMTP id s57mr7653650wei.25.1303313634996; Wed, 20 Apr 2011 08:33:54 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.216.9.67 with HTTP; Wed, 20 Apr 2011 08:33:54 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Apr 2011 08:33:54 -0700 X-Google-Sender-Auth: qjrew7cNUUDBeMx3y4PABdO2h0o Message-ID: From: mdf@FreeBSD.org To: FreeBSD Arch Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: posix_fallocate(2) 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: Wed, 20 Apr 2011 15:33:57 -0000 Mailing list ate my attachment. See http://people.freebsd.org/~mdf/check_posix_fallocate.c . As an aside, when I post from gmail.com to the mailing lists, I don't see a copy of my message. Is this a feature of the litserv, where it doesn't mail it back to the originator, or a "feature" of gmail where it tries to be clever? The problem is that when the list eats an attachment I don't know until someone takes the time to email me, and I'd rather be able to tell immediately. Thanks, matthew On Tue, Apr 19, 2011 at 10:08 AM, wrote: > The syscall and default VOP are in CURRENT now. > > I'm attaching the testcase I was using to make sure it was correct, so > that work doesn't need to be re-done if anyone wants to work on an > implementation of VOP_ALLOCATE for ufs or zfs. =A0I'd like to integrate > this into tools/test/posix_fallocate/ but honestly I'm not likely to > have the time soon. =A0I intend to try and take care of this at BSDCan > when my job responsibilities for the week are to hack on FreeBSD. :-) > > FYI, the odd format to the code is mostly due to using a few #defines > to get this test code that was originally written for $WORK's hack of > libcheck to compile and run as a stand-alone. =A0For FreeBSD I've been > testing as: > > cc -o falloc check_posix_fallocate.c -lsbuf > ./falloc > > At $WORK we have a test.mk make addendum, and a few variables set in a > make file, and the test is run as: > > make check > > Cheers, > matthew >