Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107109448
D39017.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
598 B
Referenced Files
None
Subscribers
None
D39017.diff
View Options
diff --git a/usr.sbin/sesutil/sesutil.c b/usr.sbin/sesutil/sesutil.c
--- a/usr.sbin/sesutil/sesutil.c
+++ b/usr.sbin/sesutil/sesutil.c
@@ -281,6 +281,16 @@
char devnames[devnames_size];
if (all) {
+ encioc_elm_status_t es;
+ memset(&es, 0, sizeof(es));
+ es.elm_idx = objp[j].elm_idx;
+ if (ioctl(fd, ENCIOC_GETELMSTAT, &es) < 0) {
+ close(fd);
+ xo_err(EXIT_FAILURE,
+ "ENCIOC_GETELMSTAT");
+ }
+ if ((es.cstat[0] & 0xf) == SES_OBJSTAT_NOACCESS)
+ continue;
do_led(fd, objp[j].elm_idx, objp[j].elm_type,
onoff, setfault);
continue;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 6:18 AM (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15751030
Default Alt Text
D39017.diff (598 B)
Attached To
Mode
D39017: sesutil: fix "fault all" with zoned jbods
Attached
Detach File
Event Timeline
Log In to Comment