View Issue Details

IDProjectCategoryView StatusLast Update
0005796CentOS-6kernelpublic2012-06-24 22:16
Status newResolutionopen 
PlatformCentOS 6.2OS2.6.32-220.23.1.el6.x86_6OS Version
Product Version6.2 
Target VersionFixed in Version 
Summary0005796: JBD: Spotted dirty metadata buffer
DescriptionKernel periodically reports in syslog:

JBD: Spotted dirty metadata buffer (dev = sda3, blocknr = XXXXXXX). There's a risk of filesystem corruption in case of system crash.
Steps To ReproduceThis problem appears to reveal itself only when the system is under heavy memory pressure.

Steps to reproduce:

(1) Reduce available free memory (For example, edit /etc/sysctl.conf and set vm.swappiness=1 and vm.nr_hugepages=XXXX. Where XXXX is the available free memory in MB / 2. Then run sysctl -p)

(2) Run iozone -a -i 0 -i 1 -s 524288 -f /var/testfile (where /var is an EXT4 filesystem mounted with data=journal)
Additional InformationEXT4 file system mounted with data=journal,noatime,nodiratime,barrier=0 mount options.

File system is plain (no LVM) on a RAID 1 SAS using an Intel RS2BL040 controller (FW Package Build: 12.7.0-0007)

Changing mount options from data=journal to data=ordered does not produce the warning under the same conditions. It appears that it is therefore unsafe to use full journaling until this bug is corrected, as recovery after a crash may be much worse than for the default data=ordered mode.
TagsNo tags attached.




2012-06-24 17:36

manager   ~0015331

Possibly related to this:


2012-06-24 17:40

reporter   ~0015332

Agreed, looks like the same issue.


2012-06-24 18:19

manager   ~0015333

I have not been able to find a patch for this bug at If you see any, please let us know. In the mean time, I suggest you file a bug report at .


2012-06-24 22:16

reporter   ~0015336

Reported in Bugzilla:

Issue History

Date Modified Username Field Change
2012-06-24 15:52 saedelman New Issue
2012-06-24 17:36 toracat Note Added: 0015331
2012-06-24 17:40 toracat Category -OTHER => kernel
2012-06-24 17:40 saedelman Note Added: 0015332
2012-06-24 18:19 toracat Note Added: 0015333
2012-06-24 22:16 saedelman Note Added: 0015336