Boaz Harrosh 96218556b0 pnfs-obj: Get rid of objlayout_{alloc,free}_io_state
This is part of moving objio_osd to use the ORE.

objlayout_io_state had two functions:
1. It was used in the error reporting mechanism at layout_return.
   This function is kept intact.
   (Later patch will rename objlayout_io_state => objlayout_io_res)
2. Carrier of rw io members into the objio_read/write_paglist API.
   This is removed in this patch.

The {r,w}data received from NFS are passed directly to the
objio_{read,write}_paglist API. The io_engine is now allocating
it's own IO state as part of the read/write. The minimal
functionality that was part of the generic allocation is passed
to the io_engine.

So part of this patch is rename of:
	ios->ol_state.foo => ios->foo

At objlayout_{read,write}_done an objlayout_io_state is passed that
denotes the result of the IO. (Hence the later name change).
If the IO is successful objlayout calls an objio_free_result() API
immediately (Which for objio_osd causes the release of the io_state).
If the IO ended in an error it is hanged onto until reported in
layout_return and is released later through the objio_free_result()
API. (All this is not new just renamed and cleaned)

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2011-11-02 23:56:05 -04:00
..
2011-07-26 16:49:47 -07:00
2011-08-19 13:25:36 -04:00
2011-07-26 16:49:47 -07:00
2011-10-28 14:59:00 +02:00
2011-10-19 13:58:30 -07:00
2010-12-21 11:51:23 -05:00
2011-07-12 13:40:27 -04:00
2011-07-12 13:40:27 -04:00
2011-10-19 13:58:30 -07:00
2011-07-31 12:18:15 -04:00
2011-03-24 13:52:41 -04:00
2011-10-19 13:58:38 -07:00
2010-10-07 18:48:49 -04:00
2011-10-19 13:58:30 -07:00