Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Handling 'short' write in some cases, e.g. disk full. #1888

Merged
merged 1 commit into from
Aug 17, 2022

Commits on Aug 15, 2022

  1. Handling 'short write' in some cases, e.g. disk full.

    In cases, e.g. disk full, the write request may return
    with 'short write': the written count is less than requested count.
    The assertion of requested write count equal to returned count is removed.
    In this case, the rc value of this request is still 0. And next write
    request may return -ENOSPC because of disk full.
    This can be triggered with small disks and writing a lot of data into
    the system.
    
    Signed-off-by: Hua Huang <hua.huang@seagate.com>
    Hua Huang committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    dc9f622 View commit details
    Browse the repository at this point in the history