mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: manual merge of the btrfs-kdave tree with the btrfs tree
@ 2017-08-21 23:44 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2017-08-21 23:44 UTC (permalink / raw)
  To: David Sterba, Chris Mason, Josef Bacik
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Anand Jain,
	Nick Terrell

Hi All,

(As expected) Today's linux-next merge of the btrfs-kdave tree got a
conflict in:

  fs/btrfs/compression.h

between commit:

  5c1aab1dd544 ("btrfs: Add zstd support")

from the btrfs tree and commit:

  dc2f29212a26 ("btrfs: remove unused BTRFS_COMPRESS_LAST")

from the btrfs-kdave tree.

I fixed it up (as suggested by Chris - see below) and can carry the fix
as necessary. This is now fixed as far as linux-next is concerned, but
any non trivial conflicts should be mentioned to your upstream maintainer
when your tree is submitted for merging.  You may also want to consider
cooperating with the maintainer of the conflicting tree to minimise any
particularly complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc fs/btrfs/compression.h
index 2269e00854d8,3b1b0ac15fdc..000000000000
--- a/fs/btrfs/compression.h
+++ b/fs/btrfs/compression.h
@@@ -99,9 -99,7 +99,8 @@@ enum btrfs_compression_type
        BTRFS_COMPRESS_NONE  = 0,
        BTRFS_COMPRESS_ZLIB  = 1,
        BTRFS_COMPRESS_LZO   = 2,
 -      BTRFS_COMPRESS_TYPES = 2,
 +      BTRFS_COMPRESS_ZSTD  = 3,
 +      BTRFS_COMPRESS_TYPES = 3,
-       BTRFS_COMPRESS_LAST  = 4,
  };

  struct btrfs_compress_op {
@@@ -129,6 -127,7 +128,8 @@@

  extern const struct btrfs_compress_op btrfs_zlib_compress;
  extern const struct btrfs_compress_op btrfs_lzo_compress;
 +extern const struct btrfs_compress_op btrfs_zstd_compress;

+ int btrfs_compress_heuristic(struct inode *inode, u64 start, u64 end);
+
  #endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-21 23:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21 23:44 linux-next: manual merge of the btrfs-kdave tree with the btrfs tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®