X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fcl_internal.h;h=314c58afa484f7be1e70d47de121d1baa9ee99e1;hb=229ca819001710e5a53b335ef9a3623daf692386;hp=b75405785b1a1b890b06ff20d200638c45d5838d;hpb=490fd542a9bc8e8dafd22a8f4ca7b186f87ab21c;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/cl_internal.h b/lustre/obdclass/cl_internal.h index b754057..314c58a 100644 --- a/lustre/obdclass/cl_internal.h +++ b/lustre/obdclass/cl_internal.h @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -26,8 +24,10 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2012, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -109,6 +109,11 @@ struct cl_thread_info { * Used for submitting a sync io. */ struct cl_sync_io clt_anchor; + /** + * Fields used by cl_lock_discard_pages(). + */ + pgoff_t clt_next_index; + pgoff_t clt_fn_index; /* first non-overlapped index */ }; struct cl_thread_info *cl_env_info(const struct lu_env *env);