Re: magic sysrq keys functionality

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Wed, 28 Jul 2004 11:31:32 -0700
Matthias Andree wrote this message on Wed, Jul 28, 2004 at 11:44 +0200:
> Makes me wonder about efficiency (write latency).
> 
> I admit I'm not familiar with how the buffers are scheduled in
> particular, if there are "write batches" or something.
> 
> If however softdep needs to wait for individual blocks, real tagged
> queueing (with ordered tags in the right places and such) might be
> faster because the drive can then decide for itself in which order the
> blocks are written to the disks fastest, without violating any of the
> ordering assumptions softupdates code relies on.

As another person said much more clearly...  Softdep really does
dependancy tracking...  As long as there are no outstanding writes
that it needs (like it can't write a data block till the block is
marked as in use, nor can it update the inode that the file uses that
data block, till the data is writen to disk) are still out standing,
it will submit the write request...  so, if two blocks are not related
and have no oustanding dependancies, they will be scheduled and written
in parallel...  and let the real tag queueing do it's work...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Wed Jul 28 2004 - 16:31:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC