Simplified by using a log lock, instead of segment locks.
Simplify segment info, which is managed by log.
Implementing log sort.