Re: [PATCH 2/3] block: loop: unify interface type of lo_send and lo_receive

2015-03-24 Thread Ming Lei
On Tue, Mar 24, 2015 at 6:30 PM, Christoph Hellwig wrote: > This just adds code for no obvious benefit.. If you see the patch 3, you will find lo_rw() can handle transfer page for both read and write, so there is benefit. Thanks, -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH 2/3] block: loop: unify interface type of lo_send and lo_receive

2015-03-24 Thread Christoph Hellwig
This just adds code for no obvious benefit.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 2/3] block: loop: unify interface type of lo_send and lo_receive

2015-03-22 Thread Ming Lei
Preparing for conversion to vfs iterator based read/write, also pass 'loop_cmd' instead of 'request' so that rw common stuff can be put into loop_cmd easily. Signed-off-by: Ming Lei --- drivers/block/loop.c | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) d