From owner-freebsd-current@FreeBSD.ORG Tue Jul 26 13:54:45 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9752316A41F for ; Tue, 26 Jul 2005 13:54:45 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E8BE43D4C for ; Tue, 26 Jul 2005 13:54:45 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id j6QDsirH037870; Tue, 26 Jul 2005 06:54:44 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j6QDsihE037869; Tue, 26 Jul 2005 06:54:44 -0700 (PDT) (envelope-from rizzo) Date: Tue, 26 Jul 2005 06:54:44 -0700 From: Luigi Rizzo To: current@freebsd.org Message-ID: <20050726065444.A37735@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Cc: s223560@studenti.ing.unipi.it Subject: multiple pending filesystem requests for the same block ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 13:54:45 -0000 (context: SoC work on pluggable disk schedulers, http://wikitest.freebsd.org/moin.cgi/Hybrid The doubt we have is the following: can the filesystem code have multiple pending write requests for the same disk block ? the current (elevator) disk scheduler should have no problem with this, because even if disksort reorders requests, two requests for the same block retain the issue ordering. However we wonder if this feature is actually expected by the filesystem code, or it does not matter because it never issues a new request before the previous one on the same area is complete. thanks luigi