Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153297119
D34260.id102711.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
455 B
Referenced Files
None
Subscribers
None
D34260.id102711.diff
View Options
Index: sys/dev/md/md.c
===================================================================
--- sys/dev/md/md.c
+++ sys/dev/md/md.c
@@ -646,6 +646,9 @@
case BIO_WRITE:
case BIO_DELETE:
break;
+ case BIO_FLUSH:
+ bp->bio_resid = 0;
+ return (0);
default:
return (EOPNOTSUPP);
}
@@ -1026,6 +1029,9 @@
case BIO_WRITE:
case BIO_DELETE:
break;
+ case BIO_FLUSH:
+ bp->bio_resid = 0;
+ return (0);
default:
return (EOPNOTSUPP);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 7:55 AM (11 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31898144
Default Alt Text
D34260.id102711.diff (455 B)
Attached To
Mode
D34260: md(4): Add dummy support of the BIO_FLUSH command for malloc and swap backend.
Attached
Detach File
Event Timeline
Log In to Comment