[ext2resize] Re: Deadlock help
Status: Inactive
Brought to you by:
adilger
From: Robert W. <rj...@du...> - 2002-10-03 17:58:23
|
> I could probably do this in a couple of hours if you would be willing > to do the testing, or is the description enough? Of course, if you > are not running multiple resizers at one time (by accident normally, > of course) then the only place you actually need the sb lock is at > the critical region previously mentioned in ext3_group_add() because > we are updating the free counts, which are also updated by other parts > of the code. 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. Sounds like you've got a better idea about how to do this than I do, so why don't you go ahead and I'll definitely give it a good testing. Regards, Robert. |