Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157960 Details for
Bug 192082
System won't suspend with GFS2 file system mounted
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fixes suspend to RAM/DISK issue w.r.t GFS2
bz192082.patch (text/plain), 1.48 KB, created by
Abhijith Das
on 2007-06-26 21:33:58 UTC
(
hide
)
Description:
Fixes suspend to RAM/DISK issue w.r.t GFS2
Filename:
MIME Type:
Creator:
Abhijith Das
Created:
2007-06-26 21:33:58 UTC
Size:
1.48 KB
patch
obsolete
>diff --git a/fs/gfs2/daemon.c b/fs/gfs2/daemon.c >index 683cb5b..3548d9f 100644 >--- a/fs/gfs2/daemon.c >+++ b/fs/gfs2/daemon.c >@@ -16,6 +16,7 @@ #include <linux/kthread.h> > #include <linux/delay.h> > #include <linux/gfs2_ondisk.h> > #include <linux/lm_interface.h> >+#include <linux/freezer.h> > > #include "gfs2.h" > #include "incore.h" >@@ -49,6 +50,8 @@ int gfs2_scand(void *data) > while (!kthread_should_stop()) { > gfs2_scand_internal(sdp); > t = gfs2_tune_get(sdp, gt_scand_secs) * HZ; >+ if (freezing(current)) >+ refrigerator(); > schedule_timeout_interruptible(t); > } > >@@ -74,6 +77,8 @@ int gfs2_glockd(void *data) > wait_event_interruptible(sdp->sd_reclaim_wq, > (atomic_read(&sdp->sd_reclaim_count) || > kthread_should_stop())); >+ if (freezing(current)) >+ refrigerator(); > } > > return 0; >@@ -93,6 +98,8 @@ int gfs2_recoverd(void *data) > while (!kthread_should_stop()) { > gfs2_check_journals(sdp); > t = gfs2_tune_get(sdp, gt_recoverd_secs) * HZ; >+ if (freezing(current)) >+ refrigerator(); > schedule_timeout_interruptible(t); > } > >@@ -141,6 +148,8 @@ int gfs2_logd(void *data) > } > > t = gfs2_tune_get(sdp, gt_logd_secs) * HZ; >+ if (freezing(current)) >+ refrigerator(); > schedule_timeout_interruptible(t); > } > >@@ -191,6 +200,8 @@ int gfs2_quotad(void *data) > gfs2_quota_scan(sdp); > > t = gfs2_tune_get(sdp, gt_quotad_secs) * HZ; >+ if (freezing(current)) >+ refrigerator(); > schedule_timeout_interruptible(t); > } > >diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192082
: 157960