laptop_mode looping with dm/lvm/raid used on the disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Laptop Mode Tools |
New
|
Undecided
|
Unassigned |
Bug Description
tracking this issue from http://
> I strongly suspect that LVM
> writes data after the sync is complete, which causes laptop mode to
> trigger a re-sync after two seconds.
>
>
> This seems logical. A more likely scenario might be that the write is
> going to update the timestamp or some flag on the RAID superblock to
> indicate that the devices in the array are consistent. If this is true,
> then laptop-mode is clearly broken for systems with RAID.
That sounds like a very plausible scenario indeed. The RAID superblock
writes are independent of the fs sync, so they will most likely occur
after the fs sync has completed.
> For now it looks like I've reached the limitations of "laptop-mode" on
> my system. I'll check back in periodically to see how the progress is
> going. Thanks for all the help and advice.
No problem! Hopefully we can resolve this at some point, and we'll let
you know...