diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2006-10-31 21:23:51 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2006-10-31 21:23:51 +0000 |
commit | 42461fba657708d696b35b911af46d5add85e0fc (patch) | |
tree | e1cf58f0328589a697dacbff3b7e0c1982735a33 /sys/geom/geom_slice.c | |
parent | cf4652e74b0f8e112f0bfbb32af44e6e233c546a (diff) | |
download | src-42461fba657708d696b35b911af46d5add85e0fc.tar.gz src-42461fba657708d696b35b911af46d5add85e0fc.zip |
Implement BIO_FLUSH handling by simply passing it down to the components.
Sponsored by: home.pl
Notes
Notes:
svn path=/head/; revision=163836
Diffstat (limited to 'sys/geom/geom_slice.c')
-rw-r--r-- | sys/geom/geom_slice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/geom_slice.c b/sys/geom/geom_slice.c index 2cf3385085da..c85e4a082b72 100644 --- a/sys/geom/geom_slice.c +++ b/sys/geom/geom_slice.c @@ -260,6 +260,8 @@ g_slice_start(struct bio *bp) gkd->length = gsp->slices[idx].length; /* now, pass it on downwards... */ } + /* FALLTHROUGH */ + case BIO_FLUSH: bp2 = g_clone_bio(bp); if (bp2 == NULL) { g_io_deliver(bp, ENOMEM); |