]> 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)
commit16c1c50e92337018950b959170c662e60004967b
tree516eb00e50add1fe1cce74e8967857af5d41083e
parent8ed6eea6a0a40cc238e92514c29f23c1dd9701fa
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