diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2010-11-16 18:09:58 (GMT) |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2011-08-07 02:35:31 (GMT) |
commit | e1042ba0991aab80ced34f7dade6ec25f22b4304 (patch) | |
tree | 5953383f9235df91acfc2315a5c6fbdfb359ecf1 /fs/btrfs | |
parent | 16f75bb35d54b44356f496272c013f7ace5fa698 (diff) | |
download | linux-e1042ba0991aab80ced34f7dade6ec25f22b4304.tar.xz |
exofs: Add offset/length to exofs_get_io_state
In future raid code we will need to know the IO offset/length
and if it's a read or write to determine some of the array
sizes we'll need.
So add a new exofs_get_rw_state() API for use when
writeing/reading. All other simple cases are left using the
old way.
The major change to this is that now we need to call
exofs_get_io_state later at inode.c::read_exec and
inode.c::write_exec when we actually know these things. So this
patch is kept separate so I can test things apart from other
changes.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions