diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-26 12:58:17 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-26 12:58:17 +0000 |
commit | f3cd86d5486530fd7dae66b904fd1f4cbbc5773f (patch) | |
tree | a04e4bf64ecbb27bb9a3efa83fad3fd273ea2d9d /sys/dev/ata/ata-disk.c | |
parent | c594b142825770b52798d97d81cac5876301266e (diff) | |
download | FreeBSD-src-f3cd86d5486530fd7dae66b904fd1f4cbbc5773f.zip FreeBSD-src-f3cd86d5486530fd7dae66b904fd1f4cbbc5773f.tar.gz |
- Always try to write one whole page at a time.
- vm_page_undirty() is enough (instead of vm_page_set_validclean()), but it has
to be called before we write the data in case someone makes page dirty after
our write, but before our vm_page_undirty() call.
- Always dmu_write, not matter if uiomove() succeeded, because it could
partially be ok and we would lose some changes.
All good ideas from: ups
Diffstat (limited to 'sys/dev/ata/ata-disk.c')
0 files changed, 0 insertions, 0 deletions