| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
amount of resident pages, in fact calculates the amount of installed
pte entries in the region. Resident pages which were not soft-faulted
yet are not counted.
Calculate the amount of resident pages by looking in the objects chain
backing the region.
Add a knob to disable the residency calculation at all. For large
sparce regions, either previous or updated algorithm runs for too long
time, while several introspection tools do not need the (advisory) RSS
value at all.
PR: kern/188911
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=268466
|
|
|
|
|
|
|
|
|
|
|
|
| |
Explicitly mark file removal transactions as "presumed to result
in a net free of space" so they will not fail with ENOSPC.
Illumos issue: 4950 files sometimes can't be removed from a full
filesystem
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268464
|
|
|
|
|
|
|
|
|
| |
PR: 191306
Submitted by: jau789@gmail.com
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=268460
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The number of vm fictitious regions was limited to 8 by default, but
Xen will make heavy usage of those kind of regions in order to map
memory from foreign domains, so instead of increasing the default
number, change the implementation to use a red-black tree to track vm
fictitious ranges.
The public interface remains the same.
Sponsored by: Citrix Systems R&D
Reviewed by: kib, alc
Approved by: gibbs
vm/vm_phys.c:
- Replace the vm fictitious static array with a red-black tree.
- Use a rwlock instead of a mutex, since now we also need to take the
lock in vm_phys_fictitious_to_vm_page, and it can be shared.
Notes:
svn path=/head/; revision=268451
|
|
|
|
|
|
|
|
|
|
| |
leak it.
Together with: asomers, np
Sponsored by: Nginx, Inc.
Notes:
svn path=/head/; revision=268450
|
|
|
|
| |
Notes:
svn path=/head/; revision=268447
|
|
|
|
|
|
|
| |
to test against in the freebsd.org cluster.
Notes:
svn path=/head/; revision=268441
|
|
|
|
|
|
|
|
|
|
|
| |
to userland.
Submitted by: tuexen
Security: CVE-2014-3953
Security: FreeBSD-SA-14:17.kmem
Notes:
svn path=/head/; revision=268431
|
|
|
|
|
|
|
|
|
|
|
| |
and the padding after the cmsg data un-initialized.
Submitted by: tuexen
Security: CVE-2014-3952
Security: FreeBSD-SA-14:17.kmem
Notes:
svn path=/head/; revision=268430
|
|
|
|
|
|
|
| |
protected or real.
Notes:
svn path=/head/; revision=268428
|
|
|
|
|
|
|
|
| |
This is a pre-requisite for task switch emulation since the CR3 is loaded
from the new TSS.
Notes:
svn path=/head/; revision=268427
|
|
|
|
| |
Notes:
svn path=/head/; revision=268421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While it is possible to create and write file, modify its permissions, etc.
without ever doing sync, it looks odd that it is required for setting
extended file attributes on ZFS. UFS does not do sync there too.
Samba uses those extended attributes to store some its data, and doing it
synchronously by many times reduces file creation performance for systems
without SLOG device.
Reviewed by: delphij, jpaetzel, silence on fs@
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Notes:
svn path=/head/; revision=268420
|
|
|
|
|
|
|
| |
That command is not queued, so does not use later status update.
Notes:
svn path=/head/; revision=268419
|
|
|
|
|
|
|
|
|
| |
That should make operation more kind to multi-initiator environment.
Without this, other initiators may find out that something bad happened
to their commands only via command timeout.
Notes:
svn path=/head/; revision=268418
|
|
|
|
| |
Notes:
svn path=/head/; revision=268401
|
|
|
|
| |
Notes:
svn path=/head/; revision=268398
|
|
|
|
|
|
|
|
|
|
| |
This makes XPT_ABORT to work for me on initiator side of isp(4).
Previous code was trying to abort the XPT_ABORT itself and failed.
MFC after: 1 week
Notes:
svn path=/head/; revision=268395
|
|
|
|
| |
Notes:
svn path=/head/; revision=268392
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Testing shown that both original queued design with separate task queue,
and recent direct execution design had significant flaw: If abort request
arrives just after the victim, the last one may not be in the ooa_queue
yet, and so invisible for the task management function.
Unlike original queued implementation, use same queue for all SCSI and
TASK requests from the same initiator. That avoids races between them:
task functions are always executed in proper time, relatively to other
requests.
Notes:
svn path=/head/; revision=268391
|
|
|
|
|
|
|
|
|
| |
While CAM does not use it normally, it is useful for targets testing.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268388
|
|
|
|
|
|
|
| |
while not implemented function is.
Notes:
svn path=/head/; revision=268387
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tools/regression/file/flock/flock.c, which completes the fix in
r192685. When the lock was stolen from us, retry the whole lock
sequence in kernel, instead of returning EINTR to usermode and hoping
that application would handle it correctly by restarting the lock
acquire.
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268384
|
|
|
|
|
|
|
|
|
| |
Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=268383
|
|
|
|
| |
Notes:
svn path=/head/; revision=268375
|
|
|
|
|
|
|
|
|
| |
flag was used and wasn't really available. Change the name without
fixing any laying issues that might be present in NANDFS' use of this
flag.
Notes:
svn path=/head/; revision=268374
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=268373
|
|
|
|
|
|
|
|
|
| |
but make couple changes to handle non-queued commands too, if happen.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268370
|
|
|
|
|
|
|
|
|
|
|
|
| |
A locked vnode can get into the way of satisyfing malloc with M_WATOK.
This is a fixup to r268087.
Suggested by: kib
MFC after: 1 week
Notes:
svn path=/head/; revision=268365
|
|
|
|
| |
Notes:
svn path=/head/; revision=268364
|
|
|
|
| |
Notes:
svn path=/head/; revision=268363
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If port passed negative IID value, the function will try to allocate IID
from the pool of unused, based on passed wwpn or name arguments. It does
all its best to make IID unique and persistent across reconnects.
This makes persistent reservation properly work for iSCSI. Previously,
in case of reconnects, reservation could be unexpectedly lost, or even
migrate between intiators.
Notes:
svn path=/head/; revision=268362
|
|
|
|
| |
Notes:
svn path=/head/; revision=268361
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add missing rcvif in mbuf
- add missing ipacket stat
- remove uncessary mbuf copy on output path
- fix deadlock of the TX engine in case of error
Obtained from: NETASQ
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268359
|
|
|
|
| |
Notes:
svn path=/head/; revision=268357
|
|
|
|
|
|
|
|
| |
the same intiator (Name+ISID). If so -- terminate the old session and let
the new one take its place, as required by iSCSI RFC.
Notes:
svn path=/head/; revision=268356
|
|
|
|
|
|
|
|
|
|
| |
the port routing bits like done in Linux.
MFC after: 1 week
Tested by: Tur-Wei Chan <twchan@singnet.com.sg>
Notes:
svn path=/head/; revision=268354
|
|
|
|
|
|
|
|
| |
Use the last one to terminate active commands on iSCSI session termination.
Previous code was aborting only commands doing some data moves.
Notes:
svn path=/head/; revision=268353
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation
This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h
Discussed at: BSDcan
Notes:
svn path=/head/; revision=268351
|
|
|
|
|
|
|
|
|
| |
performance.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268350
|
|
|
|
|
|
|
| |
Reviewed by: adrian@
Notes:
svn path=/head/; revision=268349
|
|
|
|
| |
Notes:
svn path=/head/; revision=268330
|
|
|
|
|
|
|
|
|
|
| |
teardown, and new port creation during `service ctld restart`.
Close it by returning iSCSI port internal state, that allows to identify
dying ports, which should not be counted as existing, from really alive.
Notes:
svn path=/head/; revision=268328
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
several reasons for this change:
pmap_change_wiring() has never (in my memory) been used to set the wired
attribute on a virtual page. We have always used pmap_enter() to do that.
Moreover, it is not really safe to use pmap_change_wiring() to set the wired
attribute on a virtual page. The description of pmap_change_wiring() says
that it assumes the existence of a mapping in the pmap. However, non-wired
mappings may be reclaimed by the pmap at any time. (See pmap_collect().)
Many implementations of pmap_change_wiring() will crash if the mapping does
not exist.
pmap_unwire() accepts a range of virtual addresses, whereas
pmap_change_wiring() acts upon a single virtual page. Since we are
typically unwiring a range of virtual addresses, pmap_unwire() will be more
efficient. Moreover, pmap_unwire() allows us to unwire superpage mappings.
Previously, we were forced to demote the superpage mapping, because
pmap_change_wiring() only allowed us to express the unwiring of a single
base page mapping at a time. This added to the overhead of unwiring for
large ranges of addresses, including the implicit unwiring that occurs at
process termination.
Implementations for arm and powerpc will follow.
Discussed with: jeff, marcel
Reviewed by: kib
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=268327
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously ISID was changed every time, that made impossible correct
persistent reservation, because reconnected session was identified as
completely new one.
Reviewed by: trasz
MFC after: 1 week
Notes:
svn path=/head/; revision=268326
|
|
|
|
|
|
|
| |
avoid hardcoding endianness here.
Notes:
svn path=/head/; revision=268321
|
|
|
|
| |
Notes:
svn path=/head/; revision=268320
|
|
|
|
|
|
|
|
|
|
|
|
| |
prior to starting "/sbin/init" which will run all the "/etc/rc.d/xxx"
scripts. Else there can be a race configuring the interfaces via
"/etc/rc.conf".
MFC after: 4 weeks
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=268316
|
|
|
|
|
|
|
|
| |
MFC after: 4 weeks
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=268315
|
|
|
|
|
|
|
|
| |
MFC after: 4 weeks
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=268314
|