From: Jamie Lokier Subject: Re: [PATCH] Use of getblk differs between locations Date: Thu, 13 Oct 2005 01:27:26 +0100 Message-ID: <20051013002726.GG23770@mail.shareable.org> References: <1129017155.12336.4.camel@imp.csi.cam.ac.uk> <434D6932.1040703@suse.com> <434D6CFA.4080802@suse.com> <20051013000921.GD23770@mail.shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff Mahoney , Anton Altaparmakov , Glauber de Oliveira Costa , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, ext2-devel@lists.sourceforge.net, hirofumi@mail.parknet.co.jp, linux-ntfs-dev@lists.sourceforge.net, aia21@cantab.net, hch@infradead.org, viro@zeniv.linux.org.uk, akpm@osdl.org Return-path: To: Mikulas Patocka Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Mikulas Patocka wrote: > That is possible ... you must also make sure that you do not hold an > important semaphore while waiting for some removable device (auditing VFS > for this will be a bit harder...) If any filesystem is holding any _global_ semaphores while waiting for an I/O to complete - that's a major bug already. Activity which may take a long time due to slow I/O on one filesystem shouldn't block activity on other, unrelated filesystems, apart from global resource competition such as numbers of dirty pages... -- Jamie