From owner-freebsd-fs@FreeBSD.ORG Wed Dec 18 10:48:36 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A350CC0 for ; Wed, 18 Dec 2013 10:48:36 +0000 (UTC) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 466FE1145 for ; Wed, 18 Dec 2013 10:48:35 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id 27C60123793A; Wed, 18 Dec 2013 11:40:52 +0100 (CET) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000005, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 6.8856] X-CRM114-CacheID: sfid-20131218_11404_FF782A04 X-CRM114-Status: Good ( pR: 6.8856 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Wed Dec 18 11:40:52 2013 X-DSPAM-Confidence: 0.6566 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 52b17bb4853007850015789 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00010, NULL, 0.00182, disks, 0.00376, ZFS, 0.00439, From*Attila, 0.00439, To*FreeBSD.org, 0.00670, Received*online.co.hu+[195.228.243.99]), 0.00873, Received*[195.228.243.99]), 0.00873, Received*online.co.hu, 0.00873, From*Attila+Nagy, 0.00873, Received*(japan.t, 0.00873, From*Nagy+; Wed, 18 Dec 2013 11:40:48 +0100 (CET) Message-ID: <52B17BB0.2070209@fsn.hu> Date: Wed, 18 Dec 2013 11:40:48 +0100 From: Attila Nagy MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org Subject: freeing up NULL-led space in tmpfs Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2013 10:48:36 -0000 Hi, ZFS with compression enabled has a great feature: if you write NULLs(\0) to an already existing file, it will make it sparse and free up the NULL-ed space. I regurarly depend on this feature, but now I would need this on machines with no disks. Creating zpools on md is not too convenient, having this feature in tmpfs would be the best. Any chance that somebody works on it, or finds this a good candidate to work on? Thanks,