Displaying 1 result from an estimated 1 matches for "rl_t".
Did you mean:
rel_t
2007 Aug 23
1
EOF broken on zvol raw devices?
.../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
@@ -904,6 +904,7 @@ zvol_read(dev_t dev, uio_t *uio, cred_t
{
minor_t minor = getminor(dev);
zvol_state_t *zv;
+ uint64_t volsize;
rl_t *rl;
int error = 0;
@@ -914,10 +915,16 @@ zvol_read(dev_t dev, uio_t *uio, cred_t
if (zv == NULL)
return (ENXIO);
+ volsize = zv->zv_volsize;
+
rl = zfs_range_lock(&zv->zv_znode, uio->uio_loffset, uio->uio_resid,
RL_READ...