From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f174.google.com ([209.85.214.174]:57662 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751065Ab2IIMFw (ORCPT ); Sun, 9 Sep 2012 08:05:52 -0400 Received: by obbuo13 with SMTP id uo13so1622139obb.19 for ; Sun, 09 Sep 2012 05:05:52 -0700 (PDT) Message-ID: <504C861D.2020009@gmail.com> Date: Sun, 09 Sep 2012 20:05:49 +0800 From: ching MIME-Version: 1.0 To: "Fajar A. Nugraha" CC: linux-btrfs@vger.kernel.org Subject: Re: enquiry about defrag References: <504BDCE0.8020407@gmail.com> <504C49F7.2070201@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 09/09/2012 05:11 PM, Fajar A. Nugraha wrote: > On Sun, Sep 9, 2012 at 2:49 PM, ching wrote: >> On 09/09/2012 08:30 AM, Jan Steffens wrote: >>> On Sun, Sep 9, 2012 at 2:03 AM, ching wrote: >>>> 2. Is there any command for the fragmentation status of a file/dir ? e.g. fragment size, number of fragments. >>> Use the "filefrag" command, part of e2fsprogs. >>> >> my image is a 16G sparse file, after defragment, it still has 101387 extents, is it normal? > Is compression enabled? If so, yes, it's normal. > compression with lzo. thanks. i will retry with compression disabled when 3.6 is stable.