From owner-freebsd-arch@FreeBSD.ORG Wed Jun 6 08:03:51 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5788A16A400; Wed, 6 Jun 2007 08:03:51 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id E226D13C4C6; Wed, 6 Jun 2007 08:03:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1HvqUe-0004Z1-EO; Wed, 06 Jun 2007 11:03:49 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5683TlZ052259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 11:03:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5683Tpg090925; Wed, 6 Jun 2007 11:03:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l5683TVJ090924; Wed, 6 Jun 2007 11:03:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Jun 2007 11:03:28 +0300 From: Kostik Belousov To: Roman Divacky Message-ID: <20070606080328.GZ2268@deviant.kiev.zoral.com.ua> References: <20070604162430.GA76813@freebsd.org> <896DB1FBFFD5A145833D9DA08CA12A85051A7F@seaxch07.desktop.isilon.com> <20070606074429.GA42032@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8f0Rp8CLSOFvlIcd" Content-Disposition: inline In-Reply-To: <20070606074429.GA42032@freebsd.org> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 362d5034abbfed611c52a2913ea5ff69 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1119 [June 05 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: Eric Lemar , arch@freebsd.org Subject: Re: *at family of syscalls in FreeBSD 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, 06 Jun 2007 08:03:51 -0000 --8f0Rp8CLSOFvlIcd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2007 at 09:44:29AM +0200, Roman Divacky wrote: > On Tue, Jun 05, 2007 at 06:17:40PM -0700, Eric Lemar wrote: > > I'm definitely a fan of this API. Aside from the general thread-related > > utility of this API, it provides a reasonable API for accessing > > windows-style ADS streams (subfiles) on a filesystem that supports them > > and is becoming reasonably cross-platform. This lets you handle things > > like ADS hanging off directories in a comparatively sane manner. > >=20 > > We've actually implemented a subset of these syscalls in-house (Isilon) > > for use with our filesystem, largely for the ADS-related functionality. > > Generally speaking, in our tree most of the traditional non-'at' syscal= ls > > are just small kernel wrappers around the 'at' interfaces. Overall ends > > up looking fairly clean and we've ended up using them even in places > > where we don't need the ADS functionality just because they are so > > convenient. > >=20 > > If you're interested in implementing this API I'd be happy to talk about > > our implementation and see whether the relevant parts of our implementa= tion > > would be useful for the general community. >=20 > my current patch is at: www.vlakno.cz/~rdivacky/linux_at.patch >=20 > it does not implement the native fbsd syscalls, only the linuxulator ones > but adding those is a matter of minutes. I asked for a review by pjd and/= or > rwatson and hopefully this will get commited soon.. I think it would be very useful to look at Isilon implementation, and possi= bly merge your and their patch. In particular, it could give an insight of what real uses for the API/KPI are. --8f0Rp8CLSOFvlIcd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGZmpQC3+MBN1Mb4gRAr7vAJ9uMZ8xkaYgtGoSUb0s/nZ/e2N3sgCcCBsD Pv+Ch7hZhNSLbIArrYrPFZM= =YU8C -----END PGP SIGNATURE----- --8f0Rp8CLSOFvlIcd--