Re: Suspend and the ceph clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 14 May 2014 15:07:44 -0700, Gregory Farnum wrote:
> [..]
> Unfortunately, I don't know anything about Linux's suspend
> functionality or APIs, and my weak attempts at googling and grepping
> aren't turning anything up. So a question to everybody:
> 
> 2) What notifications does Linux send, and what filesystem mechanisms
> does it invoke, when it is suspending?

Is this what you're looking for?
https://www.kernel.org/doc/Documentation/power/freezing-of-tasks.txt

User space is usually controlled by ("legacy") pm-utils, which simply
executes a bunch of scripts (packaged and user provided) in various
stages. It works reasonably well but is of course fragile - typical
scripted duct tape.

systemd has its own (IMHO much less fragile) way of doing things:
http://www.freedesktop.org/software/systemd/man/systemd-sleep.conf.html

Hope this helps.

-h

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux