From owner-freebsd-current@FreeBSD.ORG Sun May 3 20:22:04 2015 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60D751FE for ; Sun, 3 May 2015 20:22:04 +0000 (UTC) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D84041666 for ; Sun, 3 May 2015 20:22:03 +0000 (UTC) Received: by laat2 with SMTP id t2so92536047laa.1 for ; Sun, 03 May 2015 13:21:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=04a3G9MbbgoBzO0oHgke0Et+Pia9Futq+Bw0Sn6ptpo=; b=ZrR+ZCc7ZVyBVwQdJZjz3dXn9YiwVkxT5nw2KNgerW/uXA+wlrKau4KSEZR0z1qHlW MlA2HkJksCux28s9izXLUMN/b899zMpkDXmb3A7PdCqjoDJghq2SCeBb78uaWPlG2ymz izCvAzqPIb8ZbfZwZXmX8E+tln2W0MAR5uDQ0ve483VFYTn0u0W8+b4Rizao7Nzwqs6U NQ38yU6Xz+mDSe5u2qwcNkEu7XmjdoKipnGuA2notBnrZ+kHd8jAovm5nCZFmmndr4dx MjhBD+mioTznH6UiWoPfI1JqpU/0kGIRopV/ZboNNp6Ogg6ljc8MxrqgoO9d2dmJJOBt ugzw== X-Gm-Message-State: ALoCoQltw/YfjmX+1CvpZDQ7IJsqzOUC+gYWXe4FVjXBGHKQ5ZL6bpx2DUsFJu2dP3NRIUZhm347 X-Received: by 10.152.3.97 with SMTP id b1mr17247828lab.54.1430684028281; Sun, 03 May 2015 13:13:48 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id lc8sm2884444lbc.33.2015.05.03.13.13.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 May 2015 13:13:47 -0700 (PDT) Message-ID: <55468177.6070100@freebsd.org> Date: Sun, 03 May 2015 23:13:43 +0300 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Julian Elischer , Konstantin Belousov CC: "current@freebsd.org" Subject: Re: seekdir/readdir patch .. Call for Review. References: <55432593.6050709@freebsd.org> <20150501161742.GW2390@kib.kiev.ua> <55461C28.6050408@freebsd.org> In-Reply-To: <55461C28.6050408@freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2015 20:22:04 -0000 On 03.05.2015 16:01, Julian Elischer wrote: >> Before making single-purpose changes to the libc readdir and seekdir >> code, or to the kernel code, it would be useful to state exact behaviour >> of the dirent machinery we want to see. No, 'make samba works in my >> situation' does not sound good enough. > Well samba is a MAJOR application for FreeBSD. there are many people > who combine the two, (e.g. FreeNAS, which suffers from this problem) > so taking it from "The Samba community does not recommend > running on FreeBSD due to problems with seekdir" to "Samba works > correctly on FreeBSD" is important.. Samba's behaviour here is governed > by Windows expectiations. Please look at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198819 too. Perhaps it is related or may be not (sorry currently I am not able to inspect the code). -- http://ache.vniz.net/