From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from victor.provo.novell.com ([137.65.250.26]:48854 "EHLO victor.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750973AbaJFUOw (ORCPT ); Mon, 6 Oct 2014 16:14:52 -0400 From: Filipe Manana To: linux-btrfs@vger.kernel.org Cc: Filipe Manana Subject: [PATCH 0/5] Proper error handling for the compressed write path Date: Mon, 6 Oct 2014 22:14:21 +0100 Message-Id: <1412630066-21746-1-git-send-email-fdmanana@suse.com> Sender: linux-btrfs-owner@vger.kernel.org List-ID: This patchset fixes several issues in inode.c:submit_compressed_extents() when one of the functions it calls fails. These issues range from hangs, missing error reporting (silent failure), memory leaks and pages not getting released. Filipe Manana (5): Btrfs: set page and mapping error on compressed write failure Btrfs: fix hang on compressed write error Btrfs: don't leak pages and memory on compressed write error Btrfs: process all async extents on compressed write failure Btrfs: make inode.c:submit_compressed_extents() return void fs/btrfs/extent_io.c | 5 +++++ fs/btrfs/extent_io.h | 1 + fs/btrfs/inode.c | 56 ++++++++++++++++++++++++++++++++++------------------ 3 files changed, 43 insertions(+), 19 deletions(-) -- 1.9.1