summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-08 20:29:10 +0000
committerphk <phk@FreeBSD.org>2005-02-08 20:29:10 +0000
commitaf5ef3f262889299ffe39d2c97f6ef14b8a66b70 (patch)
tree9fcf46127f5e7e982c2869763b1e03ed0cc2c784 /sys/boot/i386
parentad1ee10f6d12f8bbdd826c263511342a4a45857a (diff)
downloadFreeBSD-src-af5ef3f262889299ffe39d2c97f6ef14b8a66b70.zip
FreeBSD-src-af5ef3f262889299ffe39d2c97f6ef14b8a66b70.tar.gz
Background writes are entirely an FFS/Softupdates thing.
Give FFS vnodes a specific bufwrite method which contains all the background write stuff and then calls into the default bufwrite() for the rest of the job. Remove all the background write related stuff from the normal bufwrite. This drags the softdep_move_dependencies() back into FFS. Long term, it is worth looking at simply copying the data into allocated memory and issuing the bio directly and not create the "shadow buf" in the first place (just like copy-on-write is done in snapshots for instance). I don't think we really gain anything but complexity from doing this with a buf.
Diffstat (limited to 'sys/boot/i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud