[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0702071901150.20245@yvahk01.tjqt.qr>
Date: Wed, 7 Feb 2007 19:03:05 +0100 (MET)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: Christoph Hellwig <hch@....de>
cc: Andrew Morton <akpm@...ux-foundation.org>, jack@...e.cz,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] remove sb->s_files and file_list_lock usage in dquot.c
On Feb 7 2007 08:22, Christoph Hellwig wrote:
>> That loop has (and had) up to O(n^n) operations. Is there something which
>> prevents this from going insane?
>
>I don't think so. Then again it's only called when you call quotaon on
>a mounted filesystem, and normally you don't have that many inodes
>instanciated at that time.
With filesystems that can turn on their quota after mount time (about
every fs except xfs), I can surely have a ton of files open, and hence,
if I understand correctly, have lots of inodes instantiated.
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists