Block device handling from other module

Rupesh Kumar rk1825.sub at gmail.com
Fri Apr 6 02:42:31 EDT 2018


In case of sudden power loss, my custom board will get an interrupt
and will have few milliseconds of back up power.

To improve upon SSD life span I need to save ssd data and issue
STANDBY IMMEDIATE command as soon as power loss interrupt is received.

I have already implemented the interrupt part but not sure how to
handle SSD command. Any suggestions on how shall this be implemented ?

My question is : Can STANDBY IMMEDIATE command be issued directly to
SSD device ? How can I achieve it in most efficient way ?

BR
Rupesh



More information about the Kernelnewbies mailing list