[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0906201052090.13441-100000@netrider.rowland.org>
Date: Sat, 20 Jun 2009 10:56:09 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Ravish Tayal <ravish.tayal@...il.com>
cc: Kernel development list <linux-kernel@...r.kernel.org>,
<linux-fsdevel@...r.kernel.org>,
SCSI development list <linux-scsi@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>
Subject: Re: generic_make_request fucntion for scsi_disk
You should use Reply-To-All so that other people reading the mailing
list will be able to follow and contribute to the thread.
On Sat, 20 Jun 2009, Ravish Tayal wrote:
> Thanks Alan,
>
> I am actually trying to profile the time taken by each layer to complete the
> disk write opertaion as sys_write to queue_command invokation veries alot.
Of course it varies. The kernel buffers disk writes, shuffles them
around, and then carries them out when it wants to. As James has
pointed out, your write(2) system calls don't directly cause any I/O to
take place.
Alan Stern
--
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