[Bug 219362] USB SATA does not correctly shutdown the SSD upon poweroff causing data loss

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=219362

--- Comment #2 from Tomas Mudrunka (harviecz@xxxxxxxxx) ---
> Don't do that, you will end up with an unstable system.

It's an emergency shutdown in embedded scenario, we have capacitors that are
able to sustain the system for 1 second in case of unexpected power loss. It's
plenty of time to shutdown filesystems and drives properly. But we simply
cannot afford to wait for userspace. Works nicely so far.

> Yes, that is because you are shutting down things in the proper order,
like a normal shutdown will do.

Is there a reason for sysrq shutdown not to do that? I mean... c'mon...
shutting down SSDs cleanly is the bare minimum we should do... if we fail to do
that, we can as well just unplug the power without trying to unmount or sync
anything...

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux