* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
to give the caller a chance to update
or cancel the size of the io */
ASYNC_HP = 0x10,
+ ASYNC_SYNCFS = 0x20,
};
struct obd_async_page_ops {
int *flags, void *data, struct lustre_handle *lockh,
int unref);
-int osc_punch_base(struct obd_export *exp, struct obdo *oa,
- struct obd_capa *capa,
+int osc_setattr_async_base(struct obd_export *exp, struct obd_info *oinfo,
+ struct obd_trans_info *oti,
+ obd_enqueue_update_f upcall, void *cookie,
+ struct ptlrpc_request_set *rqset);
+int osc_punch_base(struct obd_export *exp, struct obd_info *oinfo,
obd_enqueue_update_f upcall, void *cookie,
struct ptlrpc_request_set *rqset);
return container_of0(d->obd_lu_dev, struct osc_device, od_cl.cd_lu_dev);
}
+int osc_dlm_lock_pageref(struct ldlm_lock *dlm);
#endif /* OSC_INTERNAL_H */