Whamcloud - gitweb
LU-8735 llite: Return -ERESTARTSYS in range_lock() 59/23259/3
authorChris Horn <hornc@cray.com>
Tue, 6 Sep 2016 15:48:28 +0000 (10:48 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 23 Mar 2017 01:40:54 +0000 (01:40 +0000)
commit6c8085515d84ec6fd8abe82b007624d67927d089
tree8d80099991d0f93c4b6498b6aa3bc0422858af3e
parent6cb13da5156ed7f076d28a3a6cfbed39cdc71e19
LU-8735 llite: Return -ERESTARTSYS in range_lock()

If we return -ERESTARTSYS rather than -EINTR then the syscall can be
retried rather than failing with -EINTR.

Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I20d1a552448e567f0400a14a71a00d0d25a9164d
Reviewed-on: https://review.whamcloud.com/23259
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/range_lock.c