ddaa5fcf | 29-Jul-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zevadm: bugfixes for zevstat mode
Draining the new queue was done until poll() with a one second timeout return 0. On busy systems this never happens. Now poll() without a timeout must return 0.
W
zevadm: bugfixes for zevstat mode
Draining the new queue was done until poll() with a one second timeout return 0. On busy systems this never happens. Now poll() without a timeout must return 0.
When called as zevstat, giving no interval parameter caused a core dump.
(cherry picked from commit 9ccd4f509e10a1bd670ce35e6f03aae00d7ca2d4)
show more ...
|
0abdde4a | 29-Jul-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zevadm: zevstat mode to show system activity
(cherry picked from commit ffacc4c18995665fffe3c01cdce2e14f424bc57c) |
6a3d43bf | 22-Jul-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zevadm: bugfix with option parsing
Option parsing was order dependent. For example, "-p -v" ignored the "-v" option while "-v -p" worked. Order does not matter anymore.
(cherry picked from commit
zevadm: bugfix with option parsing
Option parsing was order dependent. For example, "-p -v" ignored the "-v" option while "-v -p" worked. Order does not matter anymore.
(cherry picked from commit 4e01af0f92d75b7f57a617a8fbdd9dccc5077037)
show more ...
|
1ca5a13b | 22-Jul-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: create and symlink events now inlude checksum
When a symlink or another new file is created, the resulting zev events now include a signature for the new file.
Symlinks are treated like files
zev: create and symlink events now inlude checksum
When a symlink or another new file is created, the resulting zev events now include a signature for the new file.
Symlinks are treated like files that contain the "link" part as text. Block and character devices have a signature based on the format string "%c%d,%d", with 'b'/'c', getmajor() and getminor() as values. All other file types will result in an all-zero signature.
Hardlinks create a new directory entry, but no new inode. Therefore, rdlink events still do not contain a signature.
(cherry picked from commit d27baf235074c236575a6c7ec7d3fe89a7d8af6e)
show more ...
|
e206ace3 | 03-Jun-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: add txg to applicable event type records
(cherry picked from commit be5f9b3c721e52d475c3d7009982992c01c9140e) |
d65b2fff | 27-May-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: zevadm -v now outputs all data in events
(cherry picked from commit 48ead878f6c5ed593c292e6cb4396521eca8767f) |
b9710123 | 22-May-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: ioctl() to get signatures for an open file
There's a new ioctl() ZEV_IOC_GET_FILE_SIGNATURES to get beaver signatures for a data range in an open file. The provided buffer has to be large enou
zev: ioctl() to get signatures for an open file
There's a new ioctl() ZEV_IOC_GET_FILE_SIGNATURES to get beaver signatures for a data range in an open file. The provided buffer has to be large enough to hold the parameters and the signatures.
zevadm can display a file's signatures using 'zevadm -c <filename>'
(cherry picked from commit 6b4c2eb9a413da85091774d0095ad61946ae043d)
show more ...
|
5e286361 | 08-May-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: calculate beaver-compatible checksums of changes
Ranges required to calculate the checksums will be range locked before the zev callbacks are called. Checksums are calculated in the zev module
zev: calculate beaver-compatible checksums of changes
Ranges required to calculate the checksums will be range locked before the zev callbacks are called. Checksums are calculated in the zev module and reported to userland. Checksums of all-zeroes blocks are omitted. Userland is expected to infer that the block must have bee all-zeroes.
An internal cache is implemented to avoid re-reading the same data over and over again.
(cherry picked from commit d8e62bab61474da73f26dc58b26d937c9cc17397)
show more ...
|
4ca7dd5e | 08-May-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: changes for #1891 review (multiplayer)
Review feedback addressed in this commit:
- remove avl, replace with array - read() can block (but can be interrupted by signals) - style changes - q
zev: changes for #1891 review (multiplayer)
Review feedback addressed in this commit:
- remove avl, replace with array - read() can block (but can be interrupted by signals) - style changes - queue threshold can be set to 0 bytes (no delay) - FIND_QUEUE macro replaced by function - new mutex to avoid races when queues are full - zevadm can be told to poll events from a specified queue - zevadm can create blocking queues
additional changes:
- mark events are delivered without delay
(cherry picked from commit e4ea145c5d454bda934f8af75eec9ea17f2489c0)
show more ...
|
e9a5e479 | 19-Mar-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: multi-queue support
(cherry picked from commit bc16f3206d5f60ea7a18a972c3a52afb85102b71) |
6db5d4ec | 05-Feb-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: pass removed file's inode info into userland
(cherry picked from commit b23df4380880bf151b06786c591579e8a7abafc7) |
03101f54 | 03-Feb-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: remove unnecessary zap_lookup, display ctime
(cherry picked from commit a27b019ed8c12d2702bb90b14500b8932ac1ecd3) |
c035b1e8 | 27-Jan-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: new ioctl (get_gen) and various fixes
(cherry picked from commit 7a84701fb0e8e59f59d30523c82b171d7e510273) |
01c2c787 | 10-Oct-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
marks can be queued in-between events.
(cherry picked from commit d8d328ed3087e5c59b7f42951ab9dff657ba162a) |
108668da | 10-Oct-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
struct padding fixed to work with 32 and 64 bit userspace receivers, plus two other small fixes.
(cherry picked from commit 3c715018da3061d1e7dd083ab1699d835073d6ce) |
68a46c64 | 02-Oct-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
pass multiple events in one read() call; new convenience typedefs in header
(cherry picked from commit 4a804719ddd0b229ab53217aa4c7a44f7466165b) |
63aba447 | 30-Sep-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
switch protocol from packed nvlists to structs, for expected performance reasons.
(cherry picked from commit e7801d00ec0706117ba51159f125a1ac6695cb59) |
9193e9c2 | 24-Sep-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
pass additional information for each inode, changed protocoll to native encoded nvlist records.
(cherry picked from commit d41256dd2f25a2cf8d8d1a4dbb550c0d47f9858a) |
205a9bc9 | 24-Jul-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev throttles poll wakeups by collectiong a tuneable amount of data first.
(cherry picked from commit 8816c249f60329ada34955a3ea986d0e95e762d8) |
2bb8e5e2 | 16-Jul-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev module and userland tools, package manifest, etc.
(cherry picked from commit 8f7d1b1a6933dce153300cb8951790b4020c1a09) (cherry picked from commit a18c35b94749e91cc1cdfcded19539748009e375) |
d65f2bb4 | 03-Mar-2016 |
Bryan Cantrill <bryan@joyent.com> |
6734 dtrace_canstore_statvar() fails for some valid static variables Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Richard Lowe <richlowe@richlowe.net> |
6a37fc30 | 19-Dec-2015 |
Bryan Cantrill <bryan@joyent.com> |
6682 stop elfdump from weaving a web of SI_DTRACE lies Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Toomas Soome <tsoome@me.com> Approv
6682 stop elfdump from weaving a web of SI_DTRACE lies Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
show more ...
|
573f0244 | 22-Feb-2016 |
Cody Peter Mello <cody.mello@joyent.com> |
6683 Filtering on 'rarp' with snoop(1M) is broken Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approv
6683 Filtering on 'rarp' with snoop(1M) is broken Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@omniti.com>
show more ...
|
4549a1bd | 07-Mar-2016 |
Andrey Sokolov <keremet@solaris.kirov.ru> |
6727 lofiadm: remove "o:" from getopt argument Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com> |
2f15e7ad | 26-Jan-2016 |
Igor Kozhukhov <ikozhukhov@gmail.com> |
6581 cmd/format should be able label virtio BLKDEV drives Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.c
6581 cmd/format should be able label virtio BLKDEV drives Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
show more ...
|