linux/fs/exofs
Boaz Harrosh 6e31609b1d exofs: Remove useless optimization
We used to compact all used devices in an IO to the beginning
of the device array in an io_state. And keep a last device used
so in later loops we don't iterate on all device slots. This
does not prevent us from checking if slots are empty since in
reads we only read from a single mirror and jump to the next
mirror-set.

This optimization is marginal, and needlessly complicates the
code. Specially when we will later want to support raid/456
with same abstract code. So remove the distinction between
"dev" and "comp". Only "dev" is used both as the device used
and as the index (component) in the device array.

[Note that now the io_state->dev member is redundant but I
 keep it because I might want to optimize by only IOing a
 single group, though keeping a group_width*mirrors devices
 in io_state, we now keep num-devices in each io_state]

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
2010-08-04 13:17:57 +03:00
..
BUGS exofs: Documentation 2009-03-31 19:44:38 +03:00
common.h exofs: Define on-disk per-inode optional layout attribute 2010-02-28 03:35:28 -08:00
dir.c exofs: confusion between kmap() and kmap_atomic() api 2010-05-17 13:50:58 +03:00
exofs.h exofs: Fix "add bdi backing to mount session" fall out 2010-04-29 07:59:16 -07:00
file.c exofs: exofs_file_fsync and exofs_file_flush correctness 2010-08-04 13:17:56 +03:00
inode.c exofs: Remove superfluous dependency on buffer_head and writeback 2010-08-04 13:17:55 +03:00
ios.c exofs: Remove useless optimization 2010-08-04 13:17:57 +03:00
Kbuild exofs: move osd.c to ios.c 2009-12-10 09:59:21 +02:00
Kconfig exofs: Kbuild, Headers and osd utils 2009-03-31 19:44:20 +03:00
namei.c exofs: Remove IBM copyrights 2009-06-21 17:53:47 +03:00
pnfs.h exofs: fix pnfs_osd re-definitions in pre-pnfs trees 2010-01-05 09:14:32 +02:00
super.c exofs: Remove superfluous dependency on buffer_head and writeback 2010-08-04 13:17:55 +03:00
symlink.c exofs: Remove IBM copyrights 2009-06-21 17:53:47 +03:00