That's talking about the request_fn funtion, not related to
make_request_fn that I rewrote loop to use. So that's not a valid point.
> > - if(!bh) return((struct buffer_head *)0);
> >
> > eww!
> >
> > - Also, please adher to the style. VaRiAbLe names can hurt the eyes, and
> > stuff like
> >
> > if (something) break;
> >
> > return(val);
> >
> > etc don't belong too. Could you fix that up?
> >
> > That said, thanks for fixing it!
>
> If there is any chance of being merged to mainline kernel, I will fix these
> "hurt the eyes" formatting issues.
I think there is. At least I can safely say there's no chance it will be
merged if these things aren't fixed. So take your pick :-)
> > BTW, it looks like you are killing LO_FLAGS_BH_REMAP?! Why? This is a
> > very worthwhile optimization.
>
> Removing it simplified the code a lot. Doing remap direcly from
> loop_make_request() would probably be more effective. Just remap and return
LOTS more effective. Please don't kill this functionality. I don't buy
the simplification argument.
> 1 from loop_make_request() like LVM code does.
And like loop currently does...
-- Jens Axboe- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/