From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8B1D01381F4 for ; Mon, 13 Aug 2012 14:59:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D530721C029; Mon, 13 Aug 2012 14:58:30 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 685CB21C022 for ; Mon, 13 Aug 2012 14:52:23 +0000 (UTC) Received: by bkwj4 with SMTP id j4so1685212bkw.40 for ; Mon, 13 Aug 2012 07:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MqM4HQxOBfANZvfmpX0bwiBJQKII7OAz2wdCeihHNGo=; b=QkBR1NEpoyFmN6TyjoxViPu+pXj5gxw5rePDg/obyVriWhzleJyWMuMgyjYXvSJKL5 rJ15NvrAUv2SX53trL/0C3xF5ogME9+B5Gss3o3UmYzdGZm8beBW1Xl2jU/n8A/IlPuw qM0tQnQHRyNxCBj9HCzjKP5ocLqjyZHKxrN4FY/uju9b6eR/ahzSRS8dLxNntx3u2g/l Eow2vf/xPdwjX8cA2gbwOqNzJsL3tJKXNe2KUXfDxJlMrQh7uh5YXdAoDaNf8wq4YqeW PaHxtVnxrggPF2to4mxlOEwTGovR8Xlbzj6xMMvaFXftkv4LT8XhYF4ShE7oCpJT8vEB d1yw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.205.134.137 with SMTP id ic9mr4517526bkc.57.1344869542488; Mon, 13 Aug 2012 07:52:22 -0700 (PDT) Received: by 10.205.25.8 with HTTP; Mon, 13 Aug 2012 07:52:22 -0700 (PDT) In-Reply-To: References: <5028FF82.7020908@nileshgr.com> Date: Mon, 13 Aug 2012 10:52:22 -0400 Message-ID: Subject: Re: [gentoo-user] Fast file system for cache directory with lot's of files From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=000e0cdfcf6459692904c726d707 X-Archives-Salt: d3117221-9449-4a52-8e59-b1070cecb6de X-Archives-Hash: c2f872c1e56cde1b1a341222f94ba63e --000e0cdfcf6459692904c726d707 Content-Type: text/plain; charset=UTF-8 On Mon, Aug 13, 2012 at 10:42 AM, Michael Hampicke wrote: > Have you indexed your ext4 partition? >> >> # tune2fs -O dir_index /dev/your_partition >> # e2fsck -D /dev/your_partition >> > Hi, the dir_index is active. I guess that's why delete operations take as > long as they take (index has to be updated every time) > 1) Scan for files to remove 2) disable index 3) Remove files 4) enable index ? -- :wq --000e0cdfcf6459692904c726d707 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Aug 13, 2012 at 10:42 AM, Michael Hampic= ke <mgehampicke@gmail.com> wrote:

Have you indexed your ext4 partition?

# tune2fs -O dir_index /dev/your_partition
# e2fsck -D /dev/your_partition

Hi, the dir_inde= x is active. I guess that's why delete operations take as long as they = take (index has to be updated every time)=C2=A0

1) Scan for files to remove
2) disabl= e index
3) Remove files
4) enable index

?

--
:wq
--000e0cdfcf6459692904c726d707--