From d1b08c58b43e6768ac46d96fa6395d9f86a2d005 Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Thu, 22 Aug 2019 15:41:39 +1000 Subject: [PATCH] LU-6142 osc: remove oe_next_page As the comment says, this field is unused. So remove it. Test-Parameters: trivial Signed-off-by: Mr NeilBrown Change-Id: Ibf4ccc9c09c4efcf5c768e71e0fd448958a943f3 Reviewed-on: https://review.whamcloud.com/35890 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Arshad Hussain Reviewed-by: James Simmons Reviewed-by: Mike Pershin --- lustre/include/lustre_osc.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lustre/include/lustre_osc.h b/lustre/include/lustre_osc.h index e5a8392..0c2cc11 100644 --- a/lustre/include/lustre_osc.h +++ b/lustre/include/lustre_osc.h @@ -947,11 +947,6 @@ struct osc_extent { unsigned int oe_nr_pages; /** list of pending oap pages. Pages in this list are NOT sorted. */ struct list_head oe_pages; - /** Since an extent has to be written out in atomic, this is used to - * remember the next page need to be locked to write this extent out. - * Not used right now. - */ - struct osc_page *oe_next_page; /** start and end index of this extent, include start and end * themselves. Page offset here is the page index of osc_pages. * oe_start is used as keyword for red-black tree. */ -- 1.8.3.1