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
  • ldlm
  • ldlm_lock.c
Find file BlameHistoryPermalink
  • James Simmons's avatar
    LU-9019 obd: express timeouts in timeout_t · 6c6f247b
    James Simmons authored Apr 22, 2020
    
    
    In the latest kernels time_t has been removed since time_t has
    been a 64 bit value just like time64_t so no need for it anymore.
    To avoid confusion between timestamps and timeout values Lustre
    has a timeout_t typedef which is in seconds and is a s32 since
    timeouts are generally short. This helps to avoid errors that
    has happens in the past with certain math operation between
    timeouts and timestamps that lead to overflow and underflow
    cases.
    
    Change-Id: I4524456d514561e145201079a420ff89fa829602
    Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
    Reviewed-on: https://review.whamcloud.com/31576
    
    
    Tested-by: default avatarjenkins <devops@whamcloud.com>
    Reviewed-by: default avatarShaun Tancheff <shaun.tancheff@hpe.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarAndreas Dilger <adilger@whamcloud.com>
    6c6f247b

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