freebsd-dev/sys
Alexander Motin 1c80ec0a6b Add BIO_DELETE support to ada(4):
- For SSDs use TRIM feature of DATA SET MANAGEMENT command, as defined by
ACS-2 specification working draft.
- For CompactFlash use CFA ERASE command, same as ad(4) does.

With this patch, `newfs -E /dev/ada1` was able to restore write speed of
my heavily weared OCZ Vertex SSD (firmware 1.4) up to the initial level
for the most part of it's capacity. Previous 1.3 firmware, even reportiong
TRIM capabilty bit set, was not working, reporting ABORT error for every
DSM command.

I have no idea whether it is normal, but for some reason it takes 200ms
to handle any TRIM command on this drive, that was making delete extremely
slow. But TRIM command is able to accept long list of LBAs and the length of
that list seems doesn't affect it's execution time. Implemented request
clusting algorithm allowed me to rise delete rate up to reasonable numbers,
when many parallel DELETE requests running.
2009-12-28 20:08:01 +00:00
..
amd64 - Create a separate section in in the MI NOTES file for PCI wireless NIC 2009-12-18 16:13:21 +00:00
arm Intel XScale hwpmc(4) support. 2009-12-23 23:16:54 +00:00
boot Execute the cleanup handlers before jumping to the kernel just 2009-12-24 15:23:51 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Add BIO_DELETE support to ada(4): 2009-12-28 20:08:01 +00:00
cddl Apply fix for Solaris bug 6462803: zfs snapshot -r failed because 2009-12-19 11:49:20 +00:00
compat Signal 0 is used to check the permission for current process to signal 2009-12-18 14:27:18 +00:00
conf Add a driver for the `Fire' JBus to PCIe bridges found in at least 2009-12-27 16:55:44 +00:00
contrib Adapt OpenBSD pf's "sloopy" TCP state machine which is useful for Direct 2009-12-24 00:43:44 +00:00
crypto
ddb Among signal generation syscalls, only sigqueue(2) is allowed by POSIX 2009-11-17 11:39:15 +00:00
dev Correct alignment and boundary constraints in blkfront's bus dma tag. The 2009-12-28 18:59:13 +00:00
fs When porting the experimental nfs subsystem to the FreeBSD8 krpc, 2009-12-26 19:15:15 +00:00
gdb
geom Add BIO_DELETE support to ada(4): 2009-12-28 20:08:01 +00:00
gnu Remove unused code. 2009-12-03 18:16:14 +00:00
i386 - Create a separate section in in the MI NOTES file for PCI wireless NIC 2009-12-18 16:13:21 +00:00
ia64 Use unordered memory loads and stores for the in* and out* 2009-12-26 22:22:09 +00:00
isa Attach dpms(4) to vgapm and make sure to restore DPMS state after 2009-12-15 19:58:23 +00:00
kern Add a knob to allow reclaim of the directory vnodes that are source of 2009-12-28 15:35:39 +00:00
kgssapi
libkern Move inet_aton() (specular to inet_ntoa(), already present in libkern) 2009-11-12 00:46:28 +00:00
mips Add INCLUDE_CONFIG_FILE, and a note in comments about how to also 2009-12-16 02:17:43 +00:00
modules Now that ipfw is split into multiple files, we need 2009-12-17 17:44:34 +00:00
net bring in several cleanups tested in ipfw3-head branch, namely: 2009-12-28 10:47:04 +00:00
net80211 Fix typo in comment 2009-12-08 00:54:08 +00:00
netatalk
netgraph bring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expects 2009-12-28 12:29:13 +00:00
netinet introduce a local variable rte acting as a cache of ro->ro_rt 2009-12-28 14:48:32 +00:00
netinet6 Use ALLOW_NEW_SOURCES and BLOCK_OLD_SOURCES to signal a join or leave 2009-12-22 20:40:22 +00:00
netipsec Enable IPcomp by default. 2009-11-29 20:47:43 +00:00
netipx
netnatm
netncp
netsmb
nfs
nfsclient Add missing include to make LINT-VIMAGE build as well. 2009-12-27 10:10:38 +00:00
nfsserver Properly return an error reply if an NFS remove or link operation fails. 2009-12-03 20:59:28 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto In case the compression result is the same size as the orignal version, 2009-11-29 17:53:57 +00:00
pc98 - Create a separate section in in the MI NOTES file for PCI wireless NIC 2009-12-18 16:13:21 +00:00
pci
powerpc Remove a warning in DELAY about large delays. In kern_shutdown.c 2009-12-19 20:42:56 +00:00
rpc Add a check for the connection being shut down to the krpc 2009-11-08 19:02:13 +00:00
security
sparc64 Account for firmware versions which include the CDMA interrupts in 2009-12-28 14:16:40 +00:00
sun4v Hook ebus(4) and isa(4) up to the sun4v LINT build in order to 2009-12-23 21:04:31 +00:00
sys Add BIO_DELETE support to ada(4): 2009-12-28 20:08:01 +00:00
teken Place home and end before insert and delete. 2009-11-11 09:43:26 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Implement NFSv4 ACL support for UFS. 2009-12-21 19:39:10 +00:00
vm VI_OBJDIRTY vnode flag mirrors the state of OBJ_MIGHTBEDIRTY vm object 2009-12-21 12:29:38 +00:00
xdr
xen
Makefile