From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plane.gmane.org ([80.91.229.3]:46068 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933187AbaH0Gje (ORCPT ); Wed, 27 Aug 2014 02:39:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XMWtJ-0000N9-Ep for linux-btrfs@vger.kernel.org; Wed, 27 Aug 2014 08:39:33 +0200 Received: from ip68-231-22-224.ph.ph.cox.net ([68.231.22.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Aug 2014 08:39:33 +0200 Received: from 1i5t5.duncan by ip68-231-22-224.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Aug 2014 08:39:33 +0200 To: linux-btrfs@vger.kernel.org From: Duncan <1i5t5.duncan@cox.net> Subject: Re: fallocate fail on btrfs Date: Wed, 27 Aug 2014 06:39:19 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: G. Richard Bellamy posted on Tue, 26 Aug 2014 22:05:01 -0700 as excerpted: > When I try to run fallocate with "--keep-size" on my btrfs partitions, > it's failing, and I'm at a loss as to why. This was working in prior > versions. > > Any suggestions on how to attack this problem? I'm betting I'm missing > something simple here, and have just gone down the rabbit hole... > > BTW, I've confirmed that the line that fails is fallocate.c:368 [2], > with "open" always returning -1. One "something simple" you're missing (either that or I am) is any reference to which version you're running. You say it was working in prior versions, but /which/ prior versions, and /which/ version doesn't work now? -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman