Whamcloud - gitweb
LU-4824 utils: lfs find should continue after errors 94/9794/11
authorMatt Ezell <ezellma@ornl.gov>
Wed, 26 Mar 2014 15:00:16 +0000 (11:00 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 Jun 2014 02:01:28 +0000 (02:01 +0000)
commit785e7dc56613e79bdfd89fab762eeb82deb7564c
tree8a2a6777459d6f34e90050bae38f18ed6b1f953d
parent997a9f659e01b807997641a321241369a27c4293
LU-4824 utils: lfs find should continue after errors

'lfs find' stops as soon as it encounters an error, such as EACCES.
Change the behavior to match the regular find command: just note the
failure but continue on, returning a non-zero exit code at the end.

Signed-off-by: Matt Ezell <ezellma@ornl.gov>
Change-Id: I16ca35ec193e36134e7b93d91a20ff1d0778fe60
Reviewed-on: http://review.whamcloud.com/9794
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c