exofs: Support for RAID5 read-4-write interface.
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 12 Oct 2011 13:42:07 +0000 (15:42 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Tue, 25 Oct 2011 00:22:28 +0000 (17:22 -0700)
commitdd296619974c50c46c67e58f355a7e85ef3f0c01
tree516eb00e50add1fe1cce74e8967857af5d41083e
parent769ba8d92025fa390f3097e658b8ed6e032d68e9
exofs: Support for RAID5 read-4-write interface.

The ore need suplied a r4w_get_page/r4w_put_page API
from Filesystem so it can get cache pages to read-into when
writing parial stripes.

Also I commented out and NULLed the .writepage (singular)
vector. Because it gives terrible write pattern to raid
and is apparently not needed. Even in OOM conditions the
system copes (even better) with out it.

TODO: How to specify to write_cache_pages() to start
      or include a certain page?

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/inode.c