Badari Pulavarty <[email protected]> wrote: > > + size_t count = 0; > + > + for (seg = 0; seg < nr_segs; seg++) > + count += iov[seg].iov_len; We have iov_length() for this. pls review all patches, send updates if appropriate. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 1/4] Vectorize aio_read/aio_write methods
- From: Badari Pulavarty <[email protected]>
- Re: [PATCH 1/4] Vectorize aio_read/aio_write methods
- References:
- [PATCH 0/3] VFS changes to collapse AIO and vectored IO into single (set of) fileops.
- From: Badari Pulavarty <[email protected]>
- [PATCH 0/3] VFS changes to collapse AIO and vectored IO into single (set of) fileops.
- From: Badari Pulavarty <[email protected]>
- [PATCH 0/4] VFS fileop cleanups by collapsing AIO and vector IO
- From: Badari Pulavarty <[email protected]>
- [PATCH 1/4] Vectorize aio_read/aio_write methods
- From: Badari Pulavarty <[email protected]>
- [PATCH 0/3] VFS changes to collapse AIO and vectored IO into single (set of) fileops.
- Prev by Date: Re: ext3 metadata performace
- Next by Date: [PATCH] Documentation update for kdump
- Previous by thread: Re: [PATCH 1/4] Vectorize aio_read/aio_write methods
- Next by thread: Re: [PATCH 1/4] Vectorize aio_read/aio_write methods
- Index(es):