Hi!
>       If this testcase is only to test whether fsync() finishes in a 
> reasonable time, just calls fsync() is enough. Why there needs a sparse 
> file? And why this reasonable time is 120 seconds?

No idea for the sparse file, it may be regression test for some problem
they had in 2001, unfortunately there is no more documentation for the
test. Googling revealed that the test has catched deadlocks in Linux
2.5.1. The 120 seconds is IMHO arbitrary large constant, something like
50 times more than the test usually takes.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to