]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: Conditionally encode default dir layout.
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 29 Sep 2010 21:18:23 +0000 (14:18 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Mon, 4 Oct 2010 18:04:45 +0000 (11:04 -0700)
commit45fa4a2f4ebddd3d3a69c43fcb7ed031e04dad31
treefc0f479c5a5e0728667392a9b72fcdb2a01e9d4c
parent212c1890ba7d5e2bccc93937378515fa9f66e9c1
mds: Conditionally encode default dir layout.

Previously we unconditionally encoded the standard layout, which
on a directory inode is meaningless. So, use that spot to fill
in the default dir layout, if it exists. Otherwise, zero-fill.
This lets us display default directory layouts without changing
the protocol, which is good.
src/mds/CInode.cc