cvs commit: src/sbin/jscan jfile.c jscan.c jscan.h jsession.c jstream.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 7 00:21:36 PDT 2005


dillon      2005/09/07 00:20:23 PDT

DragonFly src repository

  Modified files:
    sbin/jscan           jfile.c jscan.c jscan.h jsession.c 
                         jstream.c 
  Log:
  Rework and expand the algorithms in JSCAN, part 5/?.
  
  Revamp the scanning code, cleaning up the API considerably and allowing
  forward or backwards reads relative to a supplied record, which makes
  scanning a lot more intuitive.
  
  Implement the -c option to specify the number of raw records to process.
  This is primarily intended for running a mirror forwards or backwards by
  a certain number of records.
  
  Implement mid-transaction recovery.  Mid-transaction recovery is needed
  when a batch operation has stopped at a raw record that is in the middle
  of a meta-transaction (a meta-transaction can consist of many raw records).
  Stoppage can occur for many reasons, such as the batch being run while
  the system is still writing out the records related to a meta-transaction,
  or due to journal restarts, unexpected program termination, or command-line
  limited record counts with -c.
  
  This feature has been tested a little with -m -c 1 to iterate a mirror
  forwards in time one raw record at a time across a large WRITE transaction
  that covers many raw records.  It is a pre-requisite for being able to
  iterate mirrors forwards and backwards in time.
  
  Revision  Changes    Path
  1.10      +199 -171  src/sbin/jscan/jfile.c
  1.8       +78 -32    src/sbin/jscan/jscan.c
  1.9       +11 -6     src/sbin/jscan/jscan.h
  1.2       +3 -1      src/sbin/jscan/jsession.c
  1.8       +176 -4    src/sbin/jscan/jstream.c


http://www.dragonflybsd.org/cvsweb/src/sbin/jscan/jfile.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/jscan/jscan.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/jscan/jscan.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/jscan/jsession.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/jscan/jstream.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list