hibernate takes long time with huge file transfers

From: Anil kumar
Date: Fri Sep 11 2009 - 14:11:38 EST


Hi,

I am running a huge file transfer by using simple dd command. I see that the process state of this dd is "D" uninterruptible sleep. Now I hibernate the system.

what I observe is that hibernate takes long time to complete. Looks like its waiting for the "dd" command to complete.
My understanding is that since the process is in uninterruptible sleep, hibernate is not able to stop the task.

Question:
1. Does hibernation work this way wherein it waits for the process to complete and then hibernate. Especially if the process is in uninterruptible sleep state.
2. What if the process is not in uninterruptible sleep?
3. Does sync'ing also adds to longer durations?

Thanks in advance for the help.

With regards,
Anil



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/