Skip to contentSkip to conversation

generic_make_request fucntion for scsi_disk

DISCUSSION Alan Stern 2 participants 2 messages Jun 20, 2009 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alan Stern

author
#1 lore raw

You should use Reply-To-All so that other people reading the mailing list will be able to follow and contribute to the thread.

Quoted 4 lines · Ravish Tayal

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

#2 lore raw

Sorry My mistake.
I will take care of it now onwards
regards
Ravish

Quoted 10 lines · Alan Stern

You should use Reply-To-All so that other people reading the mailing list will be able to follow and contribute to the thread.

Quoted 4 lines · Ravish Tayal

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.

Quoted 9 lines

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-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html