search for: uio_resid

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

2007 Aug 23
1
EOF broken on zvol raw devices?
...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_READER); - while (uio->uio_resid > 0) { + while (uio->uio_resid > 0 && uio->uio_loffset < volsize) { uint64_t bytes = MIN(uio->uio_resid, DMU_MAX_ACCESS >> 1); + + /* don''t read past the end */ +...
2013 Nov 09
1
10.0 BETA 3 with redports kernel panic
The redbuild boxes for redports are doing a very good and reliable job getting kernel panics out of 10.0: http://people.freebsd.org/~sbruno/redbuild_panic.txt Pretty frequent and pretty nasty. Happening on multiple machines under load. sean -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: