Re: [PATCH] Use of getblk differs between locations

From: Jamie Lokier
Date: Wed Oct 12 2005 - 19:28:04 EST


Mikulas Patocka wrote:
> That is possible ... you must also make sure that you do not hold an
> important semaphore while waiting for some removable device (auditing VFS
> for this will be a bit harder...)

If any filesystem is holding any _global_ semaphores while waiting for
an I/O to complete - that's a major bug already.

Activity which may take a long time due to slow I/O on one filesystem
shouldn't block activity on other, unrelated filesystems, apart from
global resource competition such as numbers of dirty pages...

-- Jamie
-
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/