search for: zvol_write

Displaying 2 results from an estimated 2 matches for "zvol_write".

Did you mean: zio_write
2008 Dec 07
2
zvol_read() and zvol_write().
I can''t find anything using those functions. Can they be removed? -- Pawel Jakub Dawidek http://www.wheel.pl pjd at FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type:
2007 Aug 23
1
EOF broken on zvol raw devices?
...d if=/dev/zvol/rdsk/tank/floppy-img of=/dev/null > bs=1k count=2000 > 2000+0 records in > 2000+0 records out > > (Oops! No eof detected on zvol raw device after > reading 1440k?) After looking at the code in usr/src/uts/common/fs/zfs/zvol.c it seems that neither zvol_read() nor zvol_write() cares about the zvol''s "zv_volsize". I think we need something like this: diff -r 26be3efbd346 usr/src/uts/common/fs/zfs/zvol.c --- a/usr/src/uts/common/fs/zfs/zvol.c Thu Aug 23 00:53:10 2007 -0700 +++ b/usr/src/uts/common/fs/zfs/zvol.c Thu Aug 23 16:30:41 2007 +0200 @@ -90...