I tried to abort mkfs.ntfs applied on USB drive (forgot the Quck format flag) and then another big disk IO operation (using dd). They both took more than several minutes to abort, so I just rebooted, because it was much faster to do than to convince the OS I really want to cancel and don't care about the media state. Why is it the case on Linux, why does kill -9 doesn't abort the operation instantaneously or rather fast enough for a human being (something around a pair of seconds at most)? A pair of seconds is nearly an eternity for a computer to stop a DMA, why does it take so long and do you know if I can tweak some setting to make it faster?

Edit: This happens on any Kernel in the last 10 years I use Linux. I always hoped the situation would improve but it didn't. The last try yesterday the Kernel had version 4.17. I am using Arch Linux.

migrated from serverfault.com Mar 12 at 0:08

This question came from our site for system and network administrators.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.