diff options
author | 2024-04-20 03:49:59 +0100 | |
---|---|---|
committer | 2024-05-07 21:31:11 +0200 | |
commit | bc00965dbff7a8612c8ec0005b3bc943d7196629 (patch) | |
tree | d00e70026cbd52e3aceb9ae483ffa30937a218bf /scripts/generate_rust_analyzer.py | |
parent | btrfs: use the folio iterator in btrfs_end_super_write() (diff) | |
download | linux-rng-bc00965dbff7a8612c8ec0005b3bc943d7196629.tar.xz linux-rng-bc00965dbff7a8612c8ec0005b3bc943d7196629.zip |
btrfs: count super block write errors in device instead of tracking folio error state
Currently the error status of super block write is tracked in page/folio
status bit Error. For that we need to keep the reference for the whole
duration of write and wait.
Count the number of superblock writeback errors in the btrfs_device.
That means we don't need the folio to stay around until it's waited for,
and can avoid the extra call to folio_get/put.
Also remove a mention of PageError in a comment as it's the last mention
of the page Error state.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions