[PATCH] splice: speedups and optimizations
authorJens Axboe <axboe@suse.de>
Tue, 11 Apr 2006 11:53:56 +0000 (13:53 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 11 Apr 2006 11:53:56 +0000 (13:53 +0200)
commit6f767b0425f5902e4817648632230b512e81c963
tree2a8177c31617b4994a9ae5173b10653fb547e218
parent923f4f23940d2361e8d5c4245982163a8e9d1c91
[PATCH] splice: speedups and optimizations

- Kill the local variables that cache ->nrbufs, they just take up space.

- Only set do_wakeup for a real pipe. This is a big win for direct splicing.

- Kill i_mutex lock around ->f_pos update, regular io paths don't do this
  either.

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/splice.c