From owner-freebsd-current@freebsd.org Sat Feb 10 18:24:34 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8154F119B8 for ; Sat, 10 Feb 2018 18:24:34 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (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 27E996ACB1 for ; Sat, 10 Feb 2018 18:24:34 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id h78so8257976lfg.6 for ; Sat, 10 Feb 2018 10:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ifRRi3xCwmYMttZH3HzPeYMd+pnEJHSCkiKYZ7mxjGk=; b=o0MSSj5gvyG8PhuBU+9XItakYjyId9SPNYg3MbXaUDnvm7f2ZSLUVgvVHjM0coCLA/ 50sJOMVhvQzcLYNS9kTOwpPUNp0R1ChE+Xocd5qSHwSAxQjoGBinBKhhjQh83h9yw4ro aC2Tj/f54OWGp7oWeTHcvJ93VBTmOUN7AT44M7OvptQKxntTMx26ocHd6UWQ4gVUyemq kI/SL25HThsPRQqjAjeUHlJzdZ4fkgwCHup1UoeOCEBC7ZhMHQXRGNStwN8jlYvy2QsL 3RaptHVzSPFC3a/AL1Bh1ZCyyRDsnH52a1E1t8RPDpdt/a/8VmCrAKck/oK6hVrWnTbW oxKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ifRRi3xCwmYMttZH3HzPeYMd+pnEJHSCkiKYZ7mxjGk=; b=F/8GKczG8szu3y2RE9BhOfyT5+fcC21zpmuBtozx3pHJrTUWtKQfyXO8rNhWqNJRY8 IsdyJNDayh2C3zUnQvPuEGNk6hsr5Ql99qtX0Kz805o3THGIaLYkrwbIgYl9U/elnfUo NM+cBFZXfvnWO2NGA/lFAim+ACFAa6wAniwyvvrwyTu0DtZvD4W1J44OFGFSC5V28bHA WHSY46kAufYRmDbfsiFSHfje52PwdCChBQN6iPHANrqxwiazOvD1VUyFor/QHCKgWdhY ltp4mF3bzai2wU4V0BA2f66afTc6IvgZEA43GJO3Eov3QXwlpC5ez+UlNMNtY5uIzoVK 9ouw== X-Gm-Message-State: APf1xPA8MNKYBhSijJO/0EOxrTPQD7ItcXay0CPbFtKhN5YEU4HyZIg+ 2rBbxXlJlc+xfFWIN7izAEZJuUwqR1hGAs/kt+g= X-Google-Smtp-Source: AH8x226a3ZW71gdKJPZmuyeIYdHUpH15RYJ+A3f05VrgX4YTHYyW82sgtzpFWXSgYnhI9bybdq8xXLlBS8Kxy814p3c= X-Received: by 10.25.151.209 with SMTP id z200mr4356190lfd.41.1518287072212; Sat, 10 Feb 2018 10:24:32 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.87.131 with HTTP; Sat, 10 Feb 2018 10:24:31 -0800 (PST) In-Reply-To: <1e2f43fd-85da-6629-62d1-6e96790278e5@digiware.nl> References: <1e2f43fd-85da-6629-62d1-6e96790278e5@digiware.nl> From: Alan Somers Date: Sat, 10 Feb 2018 11:24:31 -0700 X-Google-Sender-Auth: QeX4uIVCo7oJNfZyRVgFcW4lfWQ Message-ID: Subject: Re: posix_fallocate on ZFS To: Willem Jan Withagen Cc: freebsd current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Sat, 10 Feb 2018 18:24:35 -0000 On Sat, Feb 10, 2018 at 10:28 AM, Willem Jan Withagen wrote: > Hi, > > This has been disabled on ZFS since last November. > And I do understand the rationale on this. > > BUT > > I've now upgraded some of my HEAD Ceph test systems and they now fail, > since Ceph uses posix_fallocate() to allocate space for the > FileStore-journal. > > Is there any expectation that this is going to fixed in any near future? > > --WjW > No. It's fundamentally impossible to support posix_fallocate on a COW filesystem like ZFS. Ceph should be taught to ignore an EINVAL result, since the system call is merely advisory. -Alan