]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62b09c7443290b55e4872d2caf96cebc67818652
tree516eb00e50add1fe1cce74e8967857af5d41083e
parented7aae5494d292e9f37477ab8dcbf32031502f73
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