All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL] [PATCH 0/2] Minor fixups from 3.16-rc1
@ 2014-06-20 10:07 David Sterba
  2014-06-20 10:07 ` [PATCH 1/2] btrfs: remove stale comment from btrfs_flush_all_pending_stuffs David Sterba
  2014-06-20 10:07 ` [PATCH 2/2] btrfs: use E2BIG instead of EIO if compression does not help David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: David Sterba @ 2014-06-20 10:07 UTC (permalink / raw)
  To: linux-btrfs; +Cc: clm, David Sterba

Hi Chris,

two minor fixups for patches merged in rc1

You can also pull that from
 git://repo.or.cz/linux-2.6/btrfs-unstable.git for-chris/3.16-rc2

with top commit b934864cc8b08eb358748b06468b9cca64026c1e,
based on current for-linus 8408c716d7a4ddd5954ce33f53a7d3cd2876cf65

Thanks.

David Sterba (2):
  btrfs: remove stale comment from btrfs_flush_all_pending_stuffs
  btrfs: use E2BIG instead of EIO if compression does not help

 fs/btrfs/transaction.c |    5 -----
 fs/btrfs/zlib.c        |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)

-- 
1.7.9


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] btrfs: remove stale comment from btrfs_flush_all_pending_stuffs
  2014-06-20 10:07 [PULL] [PATCH 0/2] Minor fixups from 3.16-rc1 David Sterba
@ 2014-06-20 10:07 ` David Sterba
  2014-06-20 10:07 ` [PATCH 2/2] btrfs: use E2BIG instead of EIO if compression does not help David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2014-06-20 10:07 UTC (permalink / raw)
  To: linux-btrfs; +Cc: clm, David Sterba

Commit fcebe4562dec83b3f8d3088d77584727b09130b2 (Btrfs: rework qgroup
accounting) removed the qgroup accounting after delayed refs.

Signed-off-by: David Sterba <dsterba@suse.cz>
---
 fs/btrfs/transaction.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 511839c04f11..d27d9e6d5a45 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -1615,11 +1615,6 @@ static int btrfs_flush_all_pending_stuffs(struct btrfs_trans_handle *trans,
 	int ret;
 
 	ret = btrfs_run_delayed_items(trans, root);
-	/*
-	 * running the delayed items may have added new refs. account
-	 * them now so that they hinder processing of more delayed refs
-	 * as little as possible.
-	 */
 	if (ret)
 		return ret;
 
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] btrfs: use E2BIG instead of EIO if compression does not help
  2014-06-20 10:07 [PULL] [PATCH 0/2] Minor fixups from 3.16-rc1 David Sterba
  2014-06-20 10:07 ` [PATCH 1/2] btrfs: remove stale comment from btrfs_flush_all_pending_stuffs David Sterba
@ 2014-06-20 10:07 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2014-06-20 10:07 UTC (permalink / raw)
  To: linux-btrfs; +Cc: clm, David Sterba

Return codes got updated in 60e1975acb48fc3d74a3422b21dde74c977ac3d5
(btrfs: return errno instead of -1 from compression)
lzo wrapper returns E2BIG in this case, do the same for zlib.

Signed-off-by: David Sterba <dsterba@suse.cz>
---
 fs/btrfs/zlib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/btrfs/zlib.c b/fs/btrfs/zlib.c
index 4f196314c0c1..b67d8fc81277 100644
--- a/fs/btrfs/zlib.c
+++ b/fs/btrfs/zlib.c
@@ -136,7 +136,7 @@ static int zlib_compress_pages(struct list_head *ws,
 		if (workspace->def_strm.total_in > 8192 &&
 		    workspace->def_strm.total_in <
 		    workspace->def_strm.total_out) {
-			ret = -EIO;
+			ret = -E2BIG;
 			goto out;
 		}
 		/* we need another page for writing out.  Test this
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-20 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-20 10:07 [PULL] [PATCH 0/2] Minor fixups from 3.16-rc1 David Sterba
2014-06-20 10:07 ` [PATCH 1/2] btrfs: remove stale comment from btrfs_flush_all_pending_stuffs David Sterba
2014-06-20 10:07 ` [PATCH 2/2] btrfs: use E2BIG instead of EIO if compression does not help David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.