linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 12224] New: journal activity on inactive partition causes inactive harddrive spinup
@ 2008-12-14 19:39 bugme-daemon
  2008-12-14 22:29 ` [Bug 12224] " bugme-daemon
                   ` (24 more replies)
  0 siblings, 25 replies; 28+ messages in thread
From: bugme-daemon @ 2008-12-14 19:39 UTC (permalink / raw)
  To: linux-ext4

http://bugzilla.kernel.org/show_bug.cgi?id=12224

           Summary: journal activity on inactive partition causes inactive
                    harddrive spinup
           Product: File System
           Version: 2.5
     KernelVersion: 2.6.27.6
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: ext3
        AssignedTo: fs_ext3@kernel-bugs.osdl.org
        ReportedBy: csights@fastmail.fm


Latest working kernel version: 2.6.27.5
Earliest failing kernel version: 2.6.27.6
Distribution: Debian stable with custom compiled vanilla kernel

Problem Description:
    Activity on one partition (hda1) causes kjournald to also write to another
partition (sda1).  This in turn causes the harddrive which contains sda1 to
spinup or not spindown.
    I've activated laptop-mode using laptop-mode-tools. hda1 and sda1 are both
formatted with ext3.
    On unaffected kernels (e.g. 2.6.27.5) btrace produces no output.  On
affected kernels (e.g. 2.6.27.6, 2.6.27-rc7) btrace produces output as below.

/dev/hda1 on / type ext3 (rw,noatime,errors=remount-ro,commit=1209600)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
debugfs on /sys/kernel/debug type debugfs (rw)

Steps to reproduce:
    1. start "btrace /dev/sda"
    2. begin compiling kernel
    3. within seconds btrace begins output similar to below.


Thanks for all your work!  Sorry if I've misplaced blame for this undesirable
change in behavior.

Using 2.6.27.8, btrace of /dev/sda while compiling on /dev/hda1
Dec  9 11:15:32 localhost logger:   8,0    0        1     0.000000000
 1109  A  WS 14375 + 8 <- (8,1) 14312
Dec  9 11:15:32 localhost logger:   8,0    0        2     0.000006705
 1109  Q  WS 14375 + 8 [kjournald]
Dec  9 11:15:32 localhost logger:   8,0    0        3     0.000043581
 1109  G  WS 14375 + 8 [kjournald] 
Dec  9 11:15:32 localhost logger:   8,0    0        4     0.000065651
 1109  P   N [kjournald]
Dec  9 11:15:32 localhost logger:   8,0    0        5     0.000076267
 1109  I   W 14375 + 8 [kjournald]
Dec  9 11:15:32 localhost logger:   8,0    0        6     0.000300318
 1109  D   W 14375 + 8 [kjournald]
Dec  9 11:15:32 localhost logger:   8,0    0        7     0.000423518
 1109  U   N [kjournald] 1
Dec  9 11:15:32 localhost logger:   8,0    0        8     0.010028373
    3  C   W 14375 + 8 [0]
Dec  9 11:15:35 localhost logger:   8,0    0        9     3.219049689
 1109  A  WS 14383 + 8 <- (8,1) 14320
Dec  9 11:15:35 localhost logger:   8,0    0       10     3.219058350
 1109  Q  WS 14383 + 8 [kjournald]
Dec  9 11:15:35 localhost logger:   8,0    0       11     3.219095505
 1109  G  WS 14383 + 8 [kjournald]
Dec  9 11:15:35 localhost logger:   8,0    0       12     3.219115061
 1109  P   N [kjournald]
Dec  9 11:15:35 localhost logger:   8,0    0       13     3.219127074
 1109  I   W 14383 + 8 [kjournald]
Dec  9 11:15:35 localhost logger:   8,0    0       14     3.219344699
 1109  D   W 14383 + 8 [kjournald]
Dec  9 11:15:35 localhost logger:   8,0    0       15     3.219543607
 1109  U   N [kjournald] 1
Dec  9 11:15:35 localhost logger:   8,0    0       16     3.229477275
    3  C   W 14383 + 8 [0]


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2009-02-23 12:22 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-14 19:39 [Bug 12224] New: journal activity on inactive partition causes inactive harddrive spinup bugme-daemon
2008-12-14 22:29 ` [Bug 12224] " bugme-daemon
2008-12-14 22:30 ` bugme-daemon
2008-12-14 23:10   ` Eric Sandeen
2008-12-15  1:22     ` Goswin von Brederlow
2008-12-14 23:10 ` bugme-daemon
2008-12-15  0:52 ` [Bug 12224] New: " Theodore Tso
2008-12-15  1:22 ` [Bug 12224] " bugme-daemon
2008-12-15  1:25 ` bugme-daemon
2008-12-15  2:47 ` bugme-daemon
2008-12-15  5:07 ` bugme-daemon
2008-12-15 21:49 ` bugme-daemon
2008-12-16 20:35 ` bugme-daemon
2008-12-16 22:01 ` bugme-daemon
2008-12-17  2:30 ` bugme-daemon
2008-12-18 19:56 ` bugme-daemon
2008-12-18 20:41 ` bugme-daemon
2008-12-18 23:02 ` bugme-daemon
2009-01-13 22:17 ` bugme-daemon
2009-01-14 20:35 ` bugme-daemon
2009-01-14 20:44 ` bugme-daemon
2009-01-14 22:37 ` bugme-daemon
2009-01-14 22:58 ` bugme-daemon
2009-01-15  1:09 ` bugme-daemon
2009-01-15 15:48 ` bugme-daemon
2009-01-15 16:12 ` bugme-daemon
2009-01-15 21:03 ` bugme-daemon
2009-02-23 12:22 ` bugme-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).