Skip to content

Add forced BeeGFS client disconnect to fail I/O and unblock D-state processes #93

@iamjoemccormick

Description

@iamjoemccormick

Originated from #81.

To allow a clean unmount of the file system on client nodes where processes are blocked in BeeGFS I/O due to server-side services that cannot be recovered quickly, it is proposed to add a forced client disconnect mechanism.

When triggered (for example via echo 1 > /proc/fs/beegfs/*/force_disconnect), the client would immediately fail all outstanding and new BeeGFS operations with an I/O error, allowing blocked processes to exit D-state and the file system to be unmounted cleanly.

One argument against this is there are timeouts in BeeGFS already which should eventually unblock processes. However in some scenarios this can take 10 minutes (by default), which is a long time to wait.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwishlistProposed enhancements that are desirable and well-defined which may be considered when time allows.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions