+++ This bug was initially created as a clone of Bug #577900 +++
Description of problem:
Since the lock dropping interface via /sysfs is dangerous in the sense that it can result in file system corruption if misused, we need to add some way to tell if someone has used this particular interface.
--- Additional comment from firstname.lastname@example.org on 2010-04-30 10:43:38 EDT ---
We could do this with an sb flag. Then the info could appear both in /proc/mounts and also as a (one time) log message. That should make it easy to spot.
At the same time we'll add a log message to let people know when barriers have been turned off automatically as well.
--- Additional comment from email@example.com on 2010-04-30 11:09:02 EDT ---
Created an attachment (id=410510)
--- Additional comment from firstname.lastname@example.org on 2010-05-06 06:20:25 EDT ---
Posted to cluster-devel.
Cloned for RHEL6.
This feature request did not get resolved in time for Feature Freeze
for the current Red Hat Enterprise Linux release and has now been
denied. You may re-open your request by requesting your support
representative to propose it for the next release.
Created attachment 414058 [details]
RHEL6 version of the patch
Patch(es) available on kernel-2.6.32-31.el6
[root@buzz-02 buzzez:buzzez0]# echo "5:42379 EX" > /sys/fs/gfs2/buzzez\:buzzez0/demote_rq
GFS2: fsid=buzzez:buzzez0.1: demote interface used
[root@buzz-02 buzzez:buzzez0]# grep buzzez /proc/mounts
/dev/dm-3 /mnt/buzzez0 gfs2 rw,seclabel,relatime,hostdata=jid=1,demote_interface_used 0 0
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.