]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Metadata ENOSPC handling for tree log
authorYan, Zheng <zheng.yan@oracle.com>
Sun, 16 May 2010 14:49:59 +0000 (10:49 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 May 2010 14:34:53 +0000 (10:34 -0400)
commit2136e20671477033187ab52afe6886b099bfde0d
treeb97fe0b0c1cb19388fcf28f77cd74a645ec69a61
parentc6cf5bc919aeb16a02c26c73b9612254af4d8ea7
Btrfs: Metadata ENOSPC handling for tree log

Previous patches make the allocater return -ENOSPC if there is no
unreserved free metadata space. This patch updates tree log code
and various other places to propagate/handle the ENOSPC error.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/file-item.c
fs/btrfs/tree-log.c
fs/btrfs/tree-log.h