]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - include/cache.h
xfs: automatic dfops buffer relogging
[thirdparty/xfsprogs-dev.git] / include / cache.h
index b46c2a5cedb88df8367c22c46a3916c9070e5d18..552b92489e4699443b4fb64c3397899d3f78188a 100644 (file)
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2006 Silicon Graphics, Inc.
  * All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #ifndef __CACHE_H__
 #define __CACHE_H__
@@ -104,6 +92,7 @@ struct cache_node {
        unsigned int            cn_count;       /* reference count */
        unsigned int            cn_hashidx;     /* hash chain index */
        int                     cn_priority;    /* priority, -1 = free list */
+       int                     cn_old_priority;/* saved pre-dirty prio */
        pthread_mutex_t         cn_mutex;       /* node mutex */
 };