Mike Audia
2013-Aug-02 21:25 UTC
Re: [PATCH v2] btrfs: add mount option to set commit interval
> ----- Original Message ----- > From: Mike Audia > Sent: 08/02/13 05:12 PM > To: David Sterba, linux-btrfs@vger.kernel.org > Subject: Re: [PATCH v2] btrfs: add mount option to set commit interval > > > v2: > > * Stefan pointed out a missing break and that /proc/mounts does not show > > the option. > > * fixed missing goto and extra printk parameter after failed match_intAnother newbie question is which version of the kernel do I need to have in order to cleanly apply this patch? I am finding that it fails to apply to the current stable kernel code (as of now it is v3.10.4) which makes me think your patch has to be applied to a newer one? Are you patching against the linux git tree meaning I have to use the 3.11 series to try your code? Is this the correct git repo: git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Here is the error in patching observed patching against 3.10.4 as described: patching file fs/btrfs/ctree.h Hunk #1 succeeded at 1338 (offset -12 lines). Hunk #2 succeeded at 1929 (offset -40 lines). patching file fs/btrfs/disk-io.c Hunk #1 succeeded at 1713 (offset -24 lines). Hunk #2 FAILED at 1749. Hunk #3 succeeded at 2172 with fuzz 1 (offset -17 lines). 1 out of 3 hunks FAILED -- saving rejects to file fs/btrfs/disk-io.c.rej patching file fs/btrfs/super.c Hunk #1 succeeded at 319 (offset -2 lines). Hunk #2 succeeded at 360 (offset -2 lines). Hunk #3 succeeded at 626 (offset -2 lines). Hunk #4 succeeded at 968 (offset 1 line). -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Zach Brown
2013-Aug-02 21:46 UTC
Re: [PATCH v2] btrfs: add mount option to set commit interval
> Another newbie question is which version of the kernel do I need to > have in order to cleanly apply this patch? I am finding that it fails > to apply to the current stable kernel code (as of now it is v3.10.4) > which makes me think your patch has to be applied to a newer one? Are > you patching against the linux git tree meaning I have to use the 3.11 > series to try your code?Try Josef''s btrfs-next repo: https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories#Integration_repository_.28btrfs-next.29 - z -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html