X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fobd_ost.h;h=05bd9c6665414f67b2d532da7365629a65536db0;hb=64d7c036a5429a9ce5435aea96e30935b1cef44a;hp=528992d52668617dea8778eacd9990678d784fbe;hpb=2475a817f8e3ba77fb1808a47c0b5c732278cdf8;p=fs%2Flustre-release.git diff --git a/lustre/include/obd_ost.h b/lustre/include/obd_ost.h index 528992d..05bd9c6 100644 --- a/lustre/include/obd_ost.h +++ b/lustre/include/obd_ost.h @@ -16,8 +16,8 @@ * in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see [sun.com URL with a - * copy of GPLv2]. + * version 2 along with this program; If not, see + * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or @@ -36,7 +36,7 @@ * lustre/include/obd_ost.h * * Data structures for object storage targets and client: OST & OSC's - * + * * See also lustre_idl.h for wire formats of requests. */ @@ -53,22 +53,37 @@ struct osc_brw_async_args { int aa_resends; struct brw_page **aa_ppga; struct client_obd *aa_cli; - struct list_head aa_oaps; + cfs_list_t aa_oaps; + struct obd_capa *aa_ocapa; + struct cl_req *aa_clerq; }; +#define osc_grant_args osc_brw_async_args struct osc_async_args { struct obd_info *aa_oi; }; +struct osc_punch_args { + struct obdo *pa_oa; + obd_enqueue_update_f pa_upcall; + void *pa_cookie; +}; + struct osc_enqueue_args { - struct obd_export *oa_exp; - struct obd_info *oa_oi; - struct ldlm_enqueue_info*oa_ei; + struct obd_export *oa_exp; + int *oa_flags; + obd_enqueue_update_f oa_upcall; + void *oa_cookie; + struct ost_lvb *oa_lvb; + struct lustre_handle *oa_lockh; + struct ldlm_enqueue_info *oa_ei; }; +#if 0 int osc_extent_blocking_cb(struct ldlm_lock *lock, struct ldlm_lock_desc *new, void *data, int flag); +#endif /** * Build DLM resource name from object id & group for osc-ost extent lock.