mav
2286325b1e
Allow more commands to pass persistent reservation according to SPC-4 r37.
2014-09-18 22:22:14 +00:00
bz
79c4809c20
Fx a type from r271817; it's IFCOUNTER_* not IFNET_*.
2014-09-18 22:10:49 +00:00
mav
0db50d6959
Add support for "no Data-Out Buffer" (NDOB) flag of WRITE SAME (16) command.
2014-09-18 21:39:00 +00:00
glebius
10a9d2fef6
Mechanically convert to if_inc_counter().
2014-09-18 21:19:21 +00:00
glebius
ff9b50b034
Mechanically convert to if_inc_counter().
2014-09-18 21:16:05 +00:00
glebius
d363cf273b
Mechanically convert to if_inc_counter().
2014-09-18 21:14:46 +00:00
glebius
e5c0090780
Mechanically convert to if_inc_counter().
2014-09-18 21:13:12 +00:00
bz
a8148aa736
Revert r270808, which were changes to common code (i40e_alloc.h).
...
Rather than #define-ing common code function calls to OS-dependent
ones, make the osdep versions match the common code expectations,
adjust the FreeBSD specific code to use those, and remove the
#defines.
In the FreeBSD specific code, use "i40e_mem_reserved" for the
now expected but unused argument to i40e_allocate_dma_mem().
Reviewed by: gnn, eric.joyner intel.com
MFC after: 3 days
2014-09-18 21:13:03 +00:00
glebius
a9ce204398
Mechanically convert to if_inc_counter().
2014-09-18 21:11:42 +00:00
glebius
4ca46ec795
Mechanically convert to if_inc_counter().
2014-09-18 21:09:22 +00:00
glebius
5a08a4309b
Mechanically convert to if_inc_counter().
2014-09-18 21:07:05 +00:00
glebius
5cb560133f
Mechanically convert to if_inc_counter().
2014-09-18 21:05:59 +00:00
glebius
772da0ce12
Mechanically convert to if_inc_counter().
2014-09-18 21:03:13 +00:00
glebius
25bbf4092e
Mechanically convert to if_inc_counter().
2014-09-18 21:01:41 +00:00
glebius
f8546b8f0d
Mechanically convert to if_inc_counter().
2014-09-18 20:59:59 +00:00
glebius
455a87bc4c
Mechanically convert to if_inc_counter().
2014-09-18 20:58:04 +00:00
glebius
37b1af5fbf
Mechanically convert to if_inc_counter().
2014-09-18 20:53:02 +00:00
glebius
499591abc0
Mechanically convert to if_inc_counter().
2014-09-18 20:47:39 +00:00
glebius
a0d846bed0
Mechanically convert to if_inc_counter().
2014-09-18 20:44:53 +00:00
glebius
64731c3f2e
Mechanically convert to if_inc_counter().
2014-09-18 20:43:17 +00:00
glebius
baa1e8e7cc
- Mechanically convert to if_inc_counter().
...
- Cut code that runs a counter backwards.
2014-09-18 20:39:23 +00:00
smh
c466dfba5f
Remove sys/types.h include as per style (9)
...
SDT requries sys/param.h due to use of NULL
Reported by: Garrett
Sponsored by: Multiplay
2014-09-18 20:38:18 +00:00
glebius
54ea96669f
Mechanically convert to if_inc_counter().
2014-09-18 20:35:22 +00:00
glebius
545843dfa9
Mechanically convert to if_inc_counter().
2014-09-18 20:33:25 +00:00
glebius
684180d1f9
Mechanically convert to if_inc_counter().
2014-09-18 20:30:47 +00:00
glebius
94b048a2d0
Fix build on 32-bit machines.
...
Pointy hat to: glebius
2014-09-18 20:29:17 +00:00
glebius
330cae0c97
Mechanically convert to if_inc_counter().
2014-09-18 20:24:47 +00:00
glebius
9d7d8a5903
Mechanically convert to if_inc_counter().
2014-09-18 20:23:34 +00:00
glebius
ead2bbbf27
Mechanically convert to if_inc_counter().
2014-09-18 20:21:46 +00:00
glebius
85f8d768da
Mechanically convert to if_inc_counter().
2014-09-18 20:18:55 +00:00
glebius
757f353339
Mechanically convert to if_inc_counter().
2014-09-18 20:17:27 +00:00
glebius
d59fec0f56
Mechanically convert to if_inc_counter().
2014-09-18 20:15:53 +00:00
glebius
65cfc8efd5
Mechanically convert to if_inc_counter().
2014-09-18 20:11:28 +00:00
glebius
eb07b9761f
Mechanically convert to if_inc_counter().
2014-09-18 20:09:35 +00:00
glebius
dec4fd436f
Mechanically convert to if_inc_counter().
2014-09-18 20:06:10 +00:00
glebius
a041b8fd72
Mechanically convert to if_inc_counter().
2014-09-18 20:03:45 +00:00
smh
7ce047b163
Add dtrace probe support for zfs SET_ERROR(..)
...
MFC after: 1 week
Sponsored by: Multiplay
2014-09-18 20:00:36 +00:00
glebius
5114e1ccf5
Mechanically convert to if_inc_counter().
2014-09-18 19:57:13 +00:00
glebius
43eeb0cc88
- Provide if_get_counter() method for vtnet(4).
...
- Do not accumulate statistics on every tick.
- Accumulate statistics in vtnet_setup_stat_sysctl()
and in vtnet_get_counter().
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
2014-09-18 19:15:40 +00:00
will
2fa5cd85e7
Remove debug.zfs_flags in favor of the new vfs.zfs.debug_flags.
...
Replace TUNABLE_INT with CTLFLAG_RWTUN.
Submitted by: avg (debug.zfs_flags removal), smh (TUNABLE_INT replacement)
2014-09-18 18:46:38 +00:00
mav
1ebae729f6
Make kernel to update LUN size from the backing storage on configuration
...
reload also if that size was not specified in the new configuration.
Previously it happened only if size was explicitly changed in config.
MFC after: 3 days
2014-09-18 17:39:04 +00:00
will
a0e8dd2d26
Use 'cc' for the C compiler instead of 'gcc'.
...
MFC after: 1 week
Sponsored by: Spectra Logic
MFSpectraBSD: 1079507 on 2014/07/24
2014-09-18 17:37:19 +00:00
will
0362a39e44
Start the process of cleaning up FreeBSD's firewire driver.
...
sys/dev/firewire/firewire.c:
sys/dev/firewire/firewire.h:
sys/dev/firewire/firewirereg.h:
sys/dev/firewire/fwcrom.c:
sys/dev/firewire/fwdev.c:
sys/dev/firewire/fwdma.c:
sys/dev/firewire/fwmem.c:
sys/dev/firewire/fwohci.c:
sys/dev/firewire/fwohci_pci.c:
sys/dev/firewire/fwohcivar.h:
sys/dev/firewire/if_fwe.c:
sys/dev/firewire/if_fwip.c:
sys/dev/firewire/sbp.c:
sys/dev/firewire/sbp_targ.c:
Unifdef the code, removing support for DragonflyBSD
and FreeBSD prior to version 5.
Submitted by: gibbs
MFC after: 1 month
Sponsored by: Spectra Logic
MFSpectraBSD: 1081188 on 2014/08/01
2014-09-18 17:28:21 +00:00
mav
03ea8d9f92
When updating device media size use cached cdevsw pointer.
...
Using pointer from the cdev directly is dangerous since we have no reference
on it, and it may change any time. That caused panic if device has gone.
While there, report capacity change only if it really changed.
MFC after: 3 days
2014-09-18 17:25:20 +00:00
will
ae0fd50934
Silence noisy firewire logging.
...
MFC after: 1 month
Sponsored by: Spectra Logic
MFSpectraBSD: 974594 on 2013/08/02
2014-09-18 17:22:42 +00:00
pfg
df3aac1cc5
unistd: move setpgrp(2) to the __BSD_VISIBLE section
...
Our setpgrp(2) differs from the specified by POSIX, which
only has one argument, and is only meant for compatibility
with BSD.
Reference:
http://pubs.opengroup.org/onlinepubs/009695399/functions/setpgrp.html
Pointed-out in: openbsd-tech (2014-09-16)
MFC after: 6 weeks
2014-09-18 17:18:42 +00:00
pfg
151963c738
lpr: replace setpgrp(2) with setpgid(2).
...
setpgid(2) is more portable than setpgrp(2).
The BSD variant of setpgrp is a wrapper for
setpgid(2) anyways.
MFC after: 5 weeks
2014-09-18 17:01:45 +00:00
will
691a9f40b4
Enable ZFS debug flags to be modified via vfs.zfs.debug_flags.
...
This is primarily only of interest to ZFS developers, but it makes it
easier to get additional debugging.
Submitted by: gibbs
MFC after: 1 month
Sponsored by: Spectra Logic
MFSpectraBSD: 517074 on 2011/12/15 (by will), 662343 on 2013/03/20 (by gibbs)
2014-09-18 16:55:41 +00:00
pfg
c0bdd03cda
simple_httpd: cosmetic cleanups.
...
Many tab vs space cleanups.
Use setpgid() instead of setpgrp() which is more portable,
MFC after: 5 weeks
2014-09-18 16:53:44 +00:00
glebius
42586cabb8
- Use if_get_counter() to fetch ifnet statistics.
...
- Report IFCOUNTER_OQDROPS to linprocfs. Wasn't there before.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
2014-09-18 16:44:28 +00:00