Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261429AbVCaPL1 (ORCPT ); Thu, 31 Mar 2005 10:11:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261503AbVCaPJm (ORCPT ); Thu, 31 Mar 2005 10:09:42 -0500 Received: from pat.uio.no ([129.240.130.16]:15818 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id S261429AbVCaPHN (ORCPT ); Thu, 31 Mar 2005 10:07:13 -0500 Subject: Re: NFS client latencies From: Trond Myklebust To: Ingo Molnar Cc: Andrew Morton , rlrevell@joe-job.com, linux-kernel@vger.kernel.org In-Reply-To: <20050331145825.GA5107@elte.hu> References: <1112240918.10975.4.camel@lade.trondhjem.org> <20050331065942.GA14952@elte.hu> <20050330231801.129b0715.akpm@osdl.org> <20050331073017.GA16577@elte.hu> <1112270304.10975.41.camel@lade.trondhjem.org> <1112272451.10975.72.camel@lade.trondhjem.org> <20050331135825.GA2214@elte.hu> <1112279522.20211.8.camel@lade.trondhjem.org> <20050331143930.GA4032@elte.hu> <1112280891.20211.29.camel@lade.trondhjem.org> <20050331145825.GA5107@elte.hu> Content-Type: text/plain Date: Thu, 31 Mar 2005 10:06:56 -0500 Message-Id: <1112281616.20211.40.camel@lade.trondhjem.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-UiO-Spam-info: not spam, SpamAssassin (score=-3.498, required 12, autolearn=disabled, AWL 1.45, FORGED_RCVD_HELO 0.05, UIO_MAIL_IS_INTERNAL -5.00) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 22 to den 31.03.2005 Klokka 16:58 (+0200) skreiv Ingo Molnar: > would it be safe to collect locked entries into a separate, local list, > so that the restart would only see newly added entries? Then once the > moving of all entries has been done, all the locked entries could be > added back to the commit_list via one list_add. (can anything happen to > those locked entries that would break this method?) You are not allowed to remove an entry from the list if it is locked by someone else. Locking grants temporary ownership of the entry. Cheers, Trond -- Trond Myklebust - 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/