freebsd-skq/sys
avg 92a63ca12f zfs page_busy: fix the boundaries of the cleared range
This is a fix for a regression introduced in r246293.

vm_page_clear_dirty expects the range to have DEV_BSIZE aligned boundaries,
otherwise it extends them.  Thus it can happen that the whole page is
marked clean while actually having some small dirty region(s).
This commit makes the range properly aligned and ensures that only
the clean data is marked as such.

It would interesting to evaluate how much benefit clearing with DEV_BSIZE
granularity produces.  Perhaps instead we should clear the whole page
when it is completely overwritten and don't bother clearing any bits
if only a portion a page is written.

Reported by:	George Hartzell <hartzell@alerce.com>,
		Richard Todd <rmtodd@servalan.servalan.com>
Tested by:	George Hartzell <hartzell@alerce.com>,
Reviewed by:	kib
MFC after:	5 days
2013-11-19 18:43:47 +00:00
..
amd64 Fix accounting for hw.realmem on the i386 and amd64 platforms. 2013-11-15 16:05:55 +00:00
arm Implement pmap_align_superpage(). 2013-11-17 23:28:10 +00:00
boot Add a try-include word (which acts the same as "include") and use it to 2013-11-17 18:12:17 +00:00
bsm Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
cam Introduce seperate mutex lock to protect protect CTL I/O pools, slightly 2013-11-11 08:27:20 +00:00
cddl zfs page_busy: fix the boundaries of the cleared range 2013-11-19 18:43:47 +00:00
compat Fix build. 2013-11-05 19:17:19 +00:00
conf Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet 2013-11-19 00:37:53 +00:00
contrib Remove 'inline' from ar9300_init_pll(), it's too big to inline. 2013-11-08 16:28:00 +00:00
crypto make it so that from/to can be missaligned as it can happen (the geli 2013-11-06 19:14:49 +00:00
ddb
dev Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet 2013-11-19 00:37:53 +00:00
fs Remove useless comparisions of assigned offset and resid with the 2013-11-13 08:55:09 +00:00
gdb rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom In addition to r258220 allow shrinking in "automatic" mode if there is 2013-11-17 05:38:54 +00:00
gnu/fs/reiserfs
i386 Fix accounting for hw.realmem on the i386 and amd64 platforms. 2013-11-15 16:05:55 +00:00
ia64 Don't enable interrupts before we call sched_throw(). Interrupts 2013-11-10 04:22:40 +00:00
isa
kern Fix siginfo_t.si_status for wait6/waitid/SIGCHLD. 2013-11-17 22:31:23 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern Fix ixp425 boot2 with ARM EABI: 2013-09-29 15:19:34 +00:00
mips As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
modules Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet 2013-11-19 00:37:53 +00:00
net Allow ethernet drivers to pass in packets connected via the nextpkt pointer. 2013-11-18 22:58:14 +00:00
net80211 Fix AMRR to correctly select the initial rate. 2013-11-09 07:30:13 +00:00
netatalk The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
netgraph Eliminate duplicated & dead code. 2013-11-08 22:40:33 +00:00
netinet In r257692 I intentionally deleted code that handled P2P interfaces 2013-11-17 15:14:07 +00:00
netinet6 Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already 2013-11-11 12:49:00 +00:00
netipsec Initialize prot variable. 2013-11-11 13:19:55 +00:00
netipx The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
netnatm Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
netpfil Some fixups to pf_get_sport after r257223: 2013-11-14 14:20:35 +00:00
netsmb Catch up with sb_timeo type change in r255138. This fixes 2013-11-08 08:44:09 +00:00
nfs The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nfsclient The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nfsserver The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nlm Intermittent crashes in the NLM (rpc.lockd) code during system 2013-09-06 23:14:31 +00:00
ofed Fix creating a vlan over lagg over mlxen crash. 2013-11-17 20:58:31 +00:00
opencrypto Make sendfile() a method in the struct fileops. Currently only 2013-08-15 07:54:31 +00:00
pc98 x86: Allow users to change PSL_RF via ptrace(PT_SETREGS...) 2013-11-14 15:37:20 +00:00
pci Add preliminary support for RTL8168EP. 2013-10-29 05:37:05 +00:00
powerpc Add a sysctl to allow disabling resetting the OF syscons. 2013-11-17 20:29:33 +00:00
rpc Some minor tuning to rpc/svc.c: 2013-11-14 13:51:53 +00:00
security The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
sparc64 As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
sys Bump __FreeBSD_version for iconv changes 2013-11-17 22:59:06 +00:00
teken
tools
ufs UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
vm Implement mechanism to safely but slowly purge UMA per-CPU caches. 2013-11-19 10:51:46 +00:00
x86 x86: Allow users to change PSL_RF via ptrace(PT_SETREGS...) 2013-11-14 15:37:20 +00:00
xdr
xen Remove redundant redeclaration of gdtset in sys/xen/xen-os.h, to silence 2013-10-18 17:06:13 +00:00
Makefile