Fix for test 700 when CL_CLOSE is not issued (Lustre 2.1).
Several compile fixes.
prevent SQL injection
Complete previous patch to prevent SQL injection.
Policies: new parameter to avoid rechecking entries in ignored classes.
configure: allow specifying a path to lustre source tree
lustre 2.5: CL_IOCTL replaced by CL_LAYOUT.
tests: fixed test failures due to df latency.
Lustre-HSM packaging + README.
lustre 2.4: adapting to new stripe structures.
make rbh-config support multiple MDTs.
reindent of rbh-config.
Make test-suite DNE compliant (support multiple MDTs).
Allow alterntive path to lfs command (LFS env var).
migration policies: new parameter lru_sort_attr.

Can specify LRU sort order based on creation, last archive, last mod,last access,
instead of sorting only on last mod.
policies: special meaning of condition 'last_archive == 0'.

Condition 'last_archive == 0' matches files that have never been archived.
Added a policy sample using this option in config template.
Fixed migration report display of last_archive.
non-reg tests: support alternative location for lctl, lfs, lhsmd_posix...
Fix build for non-lustre.
Fix RPM packaging for recov-tools.
Fix: s/creation/creation_time/
Fix test 700 on Lustre 2.4.

Lustre 2.4 doesn't report MARK event.
Just check that the ignored count of MARK events
equals the seen count of MARK events.
Save changelog open parameters since we reuse them later.

Signed-off-by: Thomas Leibovici <thomas.leibovici@cea.fr>
Reorganize cl_get_one() to support filesystem unmounts/remounts.

Previously, unmounting the filesystem would stop the changelog
reader, leaving Robinhood running with no purpose.
Now, the thread will stop only in --once mode. Otherwise it will
regularly try to re-open the filesystem.

Signed-off-by: Thomas Leibovici <thomas.leibovici@cea.fr>
migration: fix skipped and error counters.

The skipped and errors counters were reinitialized for each loop
of the migration pass.