Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
filesystems
lustre_2_15
0023-LU-15959-llite-fix-set_page_dirty.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0023-LU-15959-llite-fix-set_page_dirty.patch of Package lustre_2_15
From c0b657eb2a44550d8c1db5325ecae2d17ee72a89 Mon Sep 17 00:00:00 2001 From: Mr NeilBrown <neilb@suse.de> Date: Mon, 5 Dec 2022 10:14:08 +1100 Subject: [PATCH 23/30] LU-15959 llite: fix set_page_dirty Missed a bit.. Signed-off-by: Mr NeilBrown <neilb@suse.de> Change-Id: I34b6bdc18a2cbc562a15e72b81b73bd574e72802 --- lustre/llite/vvp_io.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --- a/lustre/llite/vvp_io.c +++ b/lustre/llite/vvp_io.c @@ -1045,8 +1045,11 @@ void vvp_set_pagevec_dirty(struct pageve */ #ifndef HAVE_ACCOUNT_PAGE_DIRTIED_EXPORT if (!vvp_account_page_dirtied) { - for (i = 0; i < count; i++) - __set_page_dirty_nobuffers(pvec->pages[i]); + for (i = 0; i < count; i++) { + ClearPageReclaim(pvec->pages[i]); + if (!PageDirty(pvec->pages[i])) + __set_page_dirty_nobuffers(pvec->pages[i]); + } EXIT; } #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor