Re: [ext2resize] Re: Deadlock help
Status: Inactive
Brought to you by:
adilger
From: Brian J. M. <064...@in...> - 2002-10-03 18:07:54
|
On Thu, Oct 03, 2002 at 10:58:13AM -0700, Robert Walsh wrote: >=20 > Running multiple resizers at once sounds like a weird situation - > probably a mistake on the users behalf, right? However, if it's > possible to do it, then it shouldn't result in corrupt data or an oops, > so it should be accounted for. Putting aside the "least surprise" principle, think of a situation where you have a daemon watching the free space on all filesystems and automagically expanding them when they reach a threshold. It is possible then, through no mistake for two resizing operations to take place simultaneously. You are correct; whether it is advisable or not to do parallel resizing operations, it should either not break when you do it or it should not be possible (i.e. locking out subsequent simultaneous resize requests). b. --=20 Brian J. Murrell |