Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751790Ab3FXJfj (ORCPT ); Mon, 24 Jun 2013 05:35:39 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:55464 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115Ab3FXJfh (ORCPT ); Mon, 24 Jun 2013 05:35:37 -0400 MIME-Version: 1.0 In-Reply-To: <20130624070656.GA20166@infradead.org> References: <1371967642-3116-1-git-send-email-linkinjeon@gmail.com> <03D226D6-9598-473F-90FC-03A389E2A625@dilger.ca> <7D1878F6-0387-48F3-8724-4A8946AECF9E@redhat.com> <20130624024459.GJ29376@dastard> <20130624070656.GA20166@infradead.org> Date: Mon, 24 Jun 2013 18:35:37 +0900 Message-ID: Subject: Re: [PATCH 0/3] ext4: introduce two new ioctls From: Namjae Jeon To: Christoph Hellwig Cc: Dave Chinner , Eric Sandeen , Andreas Dilger , "tytso@mit.edu" , "adilger.kernel@dilger.ca" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-ext4@vger.kernel.org" , "a.sangwan@samsung.com" , Namjae Jeon Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1153 Lines: 26 2013/6/24, Christoph Hellwig : > On Mon, Jun 24, 2013 at 12:44:59PM +1000, Dave Chinner wrote: >> various DVR companies shipping equivalent ioctl-based functionality >> for XFS filesystems to both insert and remove chunks in video >> streams, but I've never been able to find the code for it anywhere. > Hi. Christoph. > Samsung does this, also for UDF. Namjae, could you please submit these > two as well, including a proper VFS interface? Yes, Sure. Intially, we also thought of adding a new flag to fallocate instead of ioctls. But as Ted rightly pointed, fallocate works on byte granularity and we have block aligned restrictions, so once we decided to go for ioctls and hear other people opninons. Currently, we can try implementing dave's suggesstion of introducing a new flag FALLOC_FL_COLLAPSE_RANGE for falloctae instead of individual ioctls for both XFS and EXT4. Thanks. > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/