Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-de
  • Repository
Switch branch/tag
  • linux-de
  • drivers
  • s390
  • cio
  • device.c
Find file BlameHistoryPermalink
  • Peter Oberparleiter's avatar
    [S390] cio: prevent purging of CCW devices in the online state · a2fc8485
    Peter Oberparleiter authored Apr 04, 2011
    
    
    The cio_ignore purge function is intended to only remove CCW devices
    which are in the offline state. There is a time frame after the purge
    function finished where a CCW device is scheduled for removal but
    still accessible. When the device is set online during this time
    frame, it may first appear online before it is then removed.
    
    Fix this by preventing that CCW devices can be set online while there
    is work (such as removal triggered by the purge function) for it
    pending. Also ensure that the purge function does not schedule devices
    for removal which are in the process of being set online.
    
    Signed-off-by: default avatarPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    a2fc8485