get_fs_excl/put_fs_excl/has_fs_excl

From: Christoph Hellwig
Date: Thu Apr 23 2009 - 15:18:54 EST


Stumbled over these gems recently when investigating the
lock_super/unlock_super removal.

These were added in commit 22e2c507c301c3dbbcf91b4948b88f78842ee6c9

[PATCH] Update cfq io scheduler to time sliced design

which unfortunately doesn't contain any comments about it. It seems to
be used to allow boosting priority for some sort of central fs metadata
updates, at least what the usage in the reiserfs journal code
looks like that.

Do you happen to have some notes/anecdotes about it so that we can
document it, give it saner naming and use it directly in the
spots that need it (including inside xfs, btrfs, etc) instead of lock_super?

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