From mboxrd@z Thu Jan 1 00:00:00 1970 From: wangdi Subject: [LSF/MM TOPIC] Parallelize file operation (like creation, unlink) under large shared directory Date: Sat, 21 Jan 2012 12:54:42 -0800 Message-ID: <4F1B2612.7020001@whamcloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, Jinshan Xiong To: lsf-pc@lists.linux-foundation.org Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:56054 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750863Ab2AUUyo (ORCPT ); Sat, 21 Jan 2012 15:54:44 -0500 Received: by iacb35 with SMTP id b35so1494320iac.19 for ; Sat, 21 Jan 2012 12:54:43 -0800 (PST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Single directory performance is a critical in some use cases. For example the multiple application threads might create hundreds of thousands of files in a single directory simultaneously within a short window of time. Currently, both filename lookup and file system modifying operations (such as create and unlink) are protected with a single lock for the entire directory. It might be useful to remove this lock, so multiple application threads can access the directory simultaneously. Thanks WangDi