Loading fs/orangefs/waitqueue.c +58 −60 Original line number Diff line number Diff line Loading @@ -376,7 +376,19 @@ static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) } spin_unlock(&op->lock); if (!signal_pending(current)) { if (unlikely(signal_pending(current))) { gossip_debug(GOSSIP_WAIT_DEBUG, "*** %s:" " operation interrupted by a signal (tag " "%llu, op %p)\n", __func__, llu(op->tag), op); orangefs_clean_up_interrupted_operation(op); ret = -EINTR; break; } /* * if this was our first attempt and client-core * has not purged our operation, we are happy to Loading @@ -403,8 +415,7 @@ static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) op, op->attempts); ret = -ETIMEDOUT; orangefs_clean_up_interrupted_operation (op); orangefs_clean_up_interrupted_operation(op); break; } } Loading Loading @@ -436,19 +447,6 @@ static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) break; } spin_unlock(&op->lock); continue; } gossip_debug(GOSSIP_WAIT_DEBUG, "*** %s:" " operation interrupted by a signal (tag " "%llu, op %p)\n", __func__, llu(op->tag), op); orangefs_clean_up_interrupted_operation(op); ret = -EINTR; break; } spin_lock(&op->lock); Loading Loading
fs/orangefs/waitqueue.c +58 −60 Original line number Diff line number Diff line Loading @@ -376,7 +376,19 @@ static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) } spin_unlock(&op->lock); if (!signal_pending(current)) { if (unlikely(signal_pending(current))) { gossip_debug(GOSSIP_WAIT_DEBUG, "*** %s:" " operation interrupted by a signal (tag " "%llu, op %p)\n", __func__, llu(op->tag), op); orangefs_clean_up_interrupted_operation(op); ret = -EINTR; break; } /* * if this was our first attempt and client-core * has not purged our operation, we are happy to Loading @@ -403,8 +415,7 @@ static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) op, op->attempts); ret = -ETIMEDOUT; orangefs_clean_up_interrupted_operation (op); orangefs_clean_up_interrupted_operation(op); break; } } Loading Loading @@ -436,19 +447,6 @@ static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) break; } spin_unlock(&op->lock); continue; } gossip_debug(GOSSIP_WAIT_DEBUG, "*** %s:" " operation interrupted by a signal (tag " "%llu, op %p)\n", __func__, llu(op->tag), op); orangefs_clean_up_interrupted_operation(op); ret = -EINTR; break; } spin_lock(&op->lock); Loading