With the increase of required performance, capacity and scalability for a cluster file system, the multi-metadata-server structure is the trend for future cluster file systems. Distributed metadata processing based on multiple metadata servers is an important but difficult issue. In order to get high metadata performance and scalability, DCFS2, a cluster file system, uses distributed metadata processing over multiple metadata servers. Moreover, DCFS2 solved the metadata consistency problem for distributed metadata processing through a distributed logging technology and a simplified two-phase commit protocol. And performance results show that DCFS2's metadata processing policy based on distributed logging can deliver high I/O performance, and the file system can quickly recover from a metadata server failure.