Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107113988
D34179.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
446 B
Referenced Files
None
Subscribers
None
D34179.diff
View Options
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c
--- a/sys/ufs/ffs/ffs_vnops.c
+++ b/sys/ufs/ffs/ffs_vnops.c
@@ -695,6 +695,9 @@
return (EOVERFLOW);
bflag = GB_UNMAPPED | (uio->uio_segflg == UIO_NOCOPY ? 0 : GB_NOSPARSE);
+#ifdef WITNESS
+ bflag |= IS_SNAPSHOT(ip) ? GB_NOWITNESS : 0;
+#endif
for (error = 0, bp = NULL; uio->uio_resid > 0; bp = NULL) {
if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0)
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 8:05 AM (19 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15751992
Default Alt Text
D34179.diff (446 B)
Attached To
Mode
D34179: ffs_read(): lock buffers after snaplk with LK_NOWITNESS
Attached
Detach File
Event Timeline
Log In to Comment