Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741AbbDTTtg (ORCPT ); Mon, 20 Apr 2015 15:49:36 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:16239 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbbDTTtf (ORCPT ); Mon, 20 Apr 2015 15:49:35 -0400 Message-ID: <55355816.4030609@fb.com> Date: Mon, 20 Apr 2015 15:48:38 -0400 From: Chris Mason User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: NeilBrown , David Howells , Al Viro , Josef Bacik , David Sterba CC: , Dave Chinner , , Christoph Hellwig , , Subject: Re: [PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag. References: <20150420052558.26554.97143.stgit@notabene.brown> <20150420052752.26554.13596.stgit@notabene.brown> In-Reply-To: <20150420052752.26554.13596.stgit@notabene.brown> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.16.4] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-04-20_03:2015-04-20,2015-04-20,1970-01-01 signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 37 On 04/20/2015 01:27 AM, NeilBrown wrote: > This allows fscache to cachefiles in a btrfs filesystem. Thanks for working on this Neil. Signed-off-by: Chris Mason -chris > > Signed-off-by: NeilBrown > --- > fs/btrfs/super.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c > index 05fef198ff94..d3c5d2b40f8e 100644 > --- a/fs/btrfs/super.c > +++ b/fs/btrfs/super.c > @@ -1904,7 +1904,8 @@ static struct file_system_type btrfs_fs_type = { > .name = "btrfs", > .mount = btrfs_mount, > .kill_sb = btrfs_kill_super, > - .fs_flags = FS_REQUIRES_DEV | FS_BINARY_MOUNTDATA, > + .fs_flags = FS_REQUIRES_DEV | FS_BINARY_MOUNTDATA | > + FS_SUPPORTS_SEEK_HOLE, > }; > MODULE_ALIAS_FS("btrfs"); > > > -- 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/