Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: FSVS 1.0.1 released

fsvs
Discussion topic

Back to topic list

Re: FSVS 1.0.1 released

Author pmarek
Full name P.Marek
Date 2005-10-05 03:23:20 PDT
Message I just found a problem in the 1.0.1 release if you happen to have
hardlinks in your filesystem.
Everything works fine, except that fsvs stops writing the .waa-dir file
with a message like
   "dir___f_sort_by_inode (directory[i-1], directory[i] ) >=0"

That's because in the DEBUG compilations (which are the default) there's a
faulty check for correctly sorted inodes, which basically tries to force
  inode1 < inode2 < inode3 < inode4 ...

This assumption breaks with hardlinks, where inodeX == inodeX+1.

So just change the >=0 in the given line (see file and linenumber in the
message) to a >0, and you'll be fine.


If you did a commit when it crashed, you can just do a
  fsvs ci -B
which re-creates and writes the list of files into the waa-area.


Sorry!


Regards,

Phil

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

FSVS 1.0.1 released pmarek P.Marek 2005-10-04 23:55:40 PDT
     Re: FSVS 1.0.1 released pmarek P.Marek 2005-10-05 03:23:20 PDT
Messages per page: