Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151332998
D4923.id12259.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
D4923.id12259.diff
View Options
Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
===================================================================
--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
@@ -1420,6 +1420,9 @@
*/
if (offset == db->db.db_offset && blksz == db->db.db_size &&
DBUF_GET_BUFC_TYPE(db) == ARC_BUFC_DATA) {
+#ifdef _KERNEL
+ curthread->td_ru.ru_oublock++;
+#endif
dbuf_assign_arcbuf(db, buf, tx);
dbuf_rele(db, FTAG);
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 4:18 PM (3 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31107286
Default Alt Text
D4923.id12259.diff (511 B)
Attached To
Mode
D4923: Fix ru_oublocks accounting for ZFS. There are two code paths that can be called from zfs_write() - one of them, through dmu_write(), was handled correctly; the other wasn't.
Attached
Detach File
Event Timeline
Log In to Comment