Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L lustre-release
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • debian-packagesdebian-packages
  • lustre-release
  • Repository
Switch branch/tag
  • lustre-release
  • lustre
  • llite
  • llite_lib.c
Find file BlameHistoryPermalink
  • Mr NeilBrown's avatar
    LU-10467 lustre: use l_wait_event_abortable where appropriate. · 79d51f6c
    Mr NeilBrown authored Aug 26, 2019
    
    
    If the lwi passed to l_wait_event() was created with
    
        lwi = LWI_INTR(LWI_ON_SIGNAL_NOOP, NULL);
    
    the effect is to wait with no timeout and blocking any
    non-fatal signals.
    For this, we now have l_wait_event_abortable(), or for one
    case l_wait_event_abortable_exclusive();
    So use those.
    
    l_wait_event_abortable() will return -ERESTARTSYS if a signal was
    received, while l_wait_event() returens -EINTR.  We need to be
    careful to handle this difference.
    
    Signed-off-by: default avatarMr NeilBrown <neilb@suse.com>
    Change-Id: Iadf0fab92fcfd46802766198dcbe6b6b349214fa
    Reviewed-on: https://review.whamcloud.com/35975
    
    
    Tested-by: default avatarjenkins <devops@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarJames Simmons <jsimmons@infradead.org>
    Reviewed-by: default avatarSebastien Buisson <sbuisson@ddn.com>
    Reviewed-by: default avatarAlex Zhuravlev <bzzz@whamcloud.com>
    Reviewed-by: default avatarPetros Koutoupis <petros.koutoupis@hpe.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    79d51f6c

https://git.gsi.de is provided by CIT→Linux&Web | GSI Helmholtzzentrum fuer Schwerionenforschung GmbH | Imprint (in German) | Privacy policy