From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ric Wheeler Subject: Re: [dm-devel] generic wrappers for multi-device FS operations Date: Tue, 08 Mar 2011 13:51:20 -0500 Message-ID: <4D767AA8.9080604@gmail.com> References: <4D766199.4010307@gmail.com> <20110308174308.GP10767@agk-dp.fab.redhat.com> <20110308183709.GC2527@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Wendy Cheng , Linux FS Devel , device-mapper development , Karel Zak , Jim Meyering , Chris Mason To: Josef Bacik Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:46435 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753405Ab1CHSvX (ORCPT ); Tue, 8 Mar 2011 13:51:23 -0500 Received: by vws12 with SMTP id 12so4956190vws.19 for ; Tue, 08 Mar 2011 10:51:22 -0800 (PST) In-Reply-To: <20110308183709.GC2527@localhost.localdomain> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 03/08/2011 01:37 PM, Josef Bacik wrote: > On Tue, Mar 08, 2011 at 10:05:40AM -0800, Wendy Cheng wrote: >>> On Tue, Mar 08, 2011 at 12:04:25PM -0500, Ric Wheeler wrote: >>>> To make this trivial to do for users, I think that it would be really >>>> nice to have a two-level wrappers for things like resize, add a volume, >>>> shrink, etc. Similar to the way we have mount or fsck invoke file system >>>> specific bits. >>>> Good idea? Bad idea? >> So the "resize" is on the filesystem, not the volume ? The "grow" part >> is probably easy. Unfortunately, the "shrink" may not be easy for some >> of the filesystems: >> > Who wants to make their fs smaller anyway? ;) > > Josef I have been surprised more than once by customers who do this on a regular basis :) Ric