Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/uvm



Module Name:    src
Committed By:   yamt
Date:           Mon Mar 23 23:51:48 UTC 2026

Modified Files:
        src/sys/uvm: uvm_swap.c

Log Message:
sw_reg_strategy: stop panicking on hole

after the recent change to uvm_aio_aiodone_pages,
it should be ok to report errors here. the swap slots
will be marked bad as expected.

tested with a swap file with 50% holes:
```
Device                    Size     Used      Bad    Avail Capacity  Priority
/dev/dk1                  2.0G     1.8G       0B     190M     91%      0
/swapfile_with_half_holes 2.0G     2.0G     1.0G     5.6M    100%      0
Total                     4.0G     3.8G     1.0G     196M     95%
```


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index