Request for inclusion: commit 3ebe138ac642 for 3.10+

2015-10-23 Thread Ilya Dryomov
Hello, Please queue 3ebe138ac642 ("rbd: fix double free on rbd_dev->header_name", went into 4.3-rc1) for 3.10+. It's going to be a prerequisite for the yet to be merged in mainline commits 1f2c6651f69c ("rbd: don't leak parent_spec in rbd_dev_probe_parent()") and 6d69bb536bac ("rbd: prevent kerne

[PATCH] rbd: don't leak parent_spec in rbd_dev_probe_parent()

2015-11-01 Thread Ilya Dryomov
t() remains and triggers rbd_warn() in rbd_dev_parent_put() - at that point we have parent_spec != NULL and parent_ref == 0, so counter ends up being -1 after the decrement. Redo rbd_dev_probe_parent() to fix this. Cc: stable@vger.kernel.org # 3.10+, needs backporting for < 4.2 Signed-of

[PATCH for 3.14] rbd: prevent kernel stack blow up on rbd map

2015-11-01 Thread Ilya Dryomov
+, needs backporting for < 4.2 Signed-off-by: Ilya Dryomov Reviewed-by: Josh Durgin [idryo...@gmail.com: backport to 3.14: rbd_dev->opts, context] --- drivers/block/rbd.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/block/rbd.c b/d

[PATCH for 3.10] rbd: prevent kernel stack blow up on rbd map

2015-11-01 Thread Ilya Dryomov
+, needs backporting for < 4.2 Signed-off-by: Ilya Dryomov Reviewed-by: Josh Durgin [idryo...@gmail.com: backport to 3.10: rbd_dev->opts, context] --- drivers/block/rbd.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/block/rbd.c b/d

[PATCH for 4.1] rbd: prevent kernel stack blow up on rbd map

2015-11-01 Thread Ilya Dryomov
+, needs backporting for < 4.2 Signed-off-by: Ilya Dryomov Reviewed-by: Josh Durgin [idryo...@gmail.com: backport to 4.1: rbd_dev->opts] --- drivers/block/rbd.c | 33 +++-- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/drivers/block/rbd.c b/drivers

Backports of 1f2c6651f69c and 6d69bb536bac

2015-11-01 Thread Ilya Dryomov
Hi Greg, These are backports of mainline 1f2c6651f69c ("rbd: don't leak parent_spec in rbd_dev_probe_parent()") and 6d69bb536bac ("rbd: prevent kernel stack blow up on rbd map") for 3.10, 3.14 and 4.1. Please apply: - 1st and 2nd patches for 3.10 - 1st and 3rd patches for 3.14 - 1st and 4th patc

Backport of bae818ee1577

2015-11-01 Thread Ilya Dryomov
Hello, Please apply the following backport of bae818ee1577 ("rbd: require stable pages if message data CRCs are enabled") to 3.9+. I have two patches: one for 3.9-3.17 and another one for 3.18+. It really is a single backport (git cherry-pick / git am -3 can handle the remaining context just fin

[PATCH for 3.9-3.17] rbd: require stable pages if message data CRCs are enabled

2015-11-01 Thread Ilya Dryomov
data for the rbd) in the OSD-logs before this patch. After this patch this messages are pretty much gone (only ca 1-2 / month / OSD). Cc: stable@vger.kernel.org # 3.9+, needs backporting Signed-off-by: Ronny Hegewald [idryo...@gmail.com: require stable pages only in crc case, changelog] Signed-

[PATCH for 3.18-4.2] rbd: require stable pages if message data CRCs are enabled

2015-11-01 Thread Ilya Dryomov
data for the rbd) in the OSD-logs before this patch. After this patch this messages are pretty much gone (only ca 1-2 / month / OSD). Cc: stable@vger.kernel.org # 3.9+, needs backporting Signed-off-by: Ronny Hegewald [idryo...@gmail.com: require stable pages only in crc case, changelog] Signed-

Re: Ceph fixes for 3.10.y

2014-01-07 Thread Ilya Dryomov
On Tue, Jan 7, 2014 at 12:09 AM, Greg KH wrote: > On Tue, Dec 31, 2013 at 08:21:19AM -0800, Sage Weil wrote: >> Hi Greg, >> >> This is a somewhat long overdue set of fixes for 3.10.y. Since there >> are a lot of patches, they can be pulled from >> >> git://git.kernel.org/pub/scm/linux/kernel/gi

[PATCH] libceph: ceph-msgr workqueue needs a resque worker

2014-10-15 Thread Ilya Dryomov
Cc: stable@vger.kernel.org # needs backporting for < 3.12 Signed-off-by: Ilya Dryomov Tested-by: Micha Krause Reviewed-by: Sage Weil [idryo...@redhat.com: backport to 3.10] --- net/ceph/messenger.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ceph/messenger.c b/net/ceph/mess

[PATCH] rbd: rbd workqueues need a resque worker

2014-10-15 Thread Ilya Dryomov
Backport of commit 792c3a914910bd34302c5345578f85cfcb5e2c01 for 3.16. Need to use WQ_MEM_RECLAIM for our workqueues to prevent I/O lockups under memory pressure - we sit on the memory reclaim path. Cc: stable@vger.kernel.org # 3.17, needs backporting for 3.16 Signed-off-by: Ilya Dryomov Tested

Re: [PATCH] rbd: Fix error recovery in rbd_obj_read_sync()

2014-10-22 Thread Ilya Dryomov
On Wed, Oct 22, 2014 at 11:17 AM, Jan Kara wrote: > When we fail to allocate page vector in rbd_obj_read_sync() we just > basically ignore the problem and continue which will result in an oops > later. Fix the problem by returning proper error. > > CC: Yehuda Sadeh > CC: Sage Weil > CC: ceph-de.

Re: FAILED: patch "[PATCH] libceph: ceph-msgr workqueue needs a resque worker" failed to apply to 3.10-stable tree

2014-11-08 Thread Ilya Dryomov
On Sat, Nov 8, 2014 at 4:25 AM, wrote: > > The patch below does not apply to the 3.10-stable tree. > If someone wants it applied there, or to any other stable or longterm > tree, then please email the backport, including the original git commit > id to . Hi Greg, Backport was emailed on Oct 15.

Ceph stable patches

2014-09-08 Thread Ilya Dryomov
Hi stable, v3.16.2 has finally come out, but I don't see any ceph patches in it. Specifically, bc1ecc65a259 rbd: rework rbd_request_fn() # 3.16, needs backporting for 3.15 5f740d7e1531 libceph: set last_piece in ceph_msg_data_pages_cursor_init() correctly # 3.10+ Both are important fixes

Re: FAILED: patch "[PATCH] libceph: gracefully handle large reply messages from the mon" failed to apply to 3.14-stable tree

2014-09-15 Thread Ilya Dryomov
et a larger message than we are expecting, fall back to trying to allocate > a new one instead of blindly using the one we have. > > CC: stable@vger.kernel.org > Signed-off-by: Sage Weil > Reviewed-by: Ilya Dryomov > > diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c

Re: FAILED: patch "[PATCH] libceph: gracefully handle large reply messages from the mon" failed to apply to 3.14-stable tree

2014-09-15 Thread Ilya Dryomov
On Mon, Sep 15, 2014 at 8:33 PM, Greg KH wrote: > On Mon, Sep 15, 2014 at 08:17:47PM +0400, Ilya Dryomov wrote: >> On Mon, Sep 15, 2014 at 6:30 PM, wrote: >> > >> > The patch below does not apply to the 3.14-stable tree. >> > If someone wants it applied there

Request for inclusion into 3.14.y

2014-05-08 Thread Ilya Dryomov
Hi stable, Please pick up the following for the 3.14 stable series. It's been in mainline since 3.15-rc1. commit 48a163dbb517eba13643bf404a0d695c1ab0a60d Author: Ilya Dryomov Date: Wed Mar 19 16:58:36 2014 +0200 crush: fix off-by-one errors in total_tries refactor Ba

Re: FAILED: patch "[PATCH] libceph: fix preallocation check in get_reply()" failed to apply to 3.13-stable tree

2014-03-26 Thread Ilya Dryomov
thanks, > > greg k-h > > -- original commit in Linus's tree -- > > From f2be82b0058e90b5d9ac2cb896b4914276fb50ef Mon Sep 17 00:00:00 2001 > From: Ilya Dryomov > Date: Thu, 9 Jan 2014 20:08:21 +0200 > Subject: [PATCH] libceph: fix preallocation check

Re: FAILED: patch "[PATCH] libceph: fix double __remove_osd() problem" failed to apply to 3.10-stable tree

2015-03-03 Thread Ilya Dryomov
On Wed, Mar 4, 2015 at 7:54 AM, wrote: > > The patch below does not apply to the 3.10-stable tree. > If someone wants it applied there, or to any other stable or longterm > tree, then please email the backport, including the original git commit > id to . Hi Greg, This one needs 7c6e6fc53e73 and

Re: FAILED: patch "[PATCH] libceph: fix double __remove_osd() problem" failed to apply to 3.10-stable tree

2015-03-04 Thread Ilya Dryomov
On Wed, Mar 4, 2015 at 6:20 PM, Greg KH wrote: > On Wed, Mar 04, 2015 at 10:36:14AM +0300, Ilya Dryomov wrote: >> On Wed, Mar 4, 2015 at 7:54 AM, wrote: >> > >> > The patch below does not apply to the 3.10-stable tree. >> > If someone wants it applied there

Re: Request for inclusion: commit 638c323c4d1f

2015-03-16 Thread Ilya Dryomov
On Mon, Mar 16, 2015 at 4:24 PM, Greg KH wrote: > On Wed, Feb 11, 2015 at 02:34:25PM +0100, Ilya Dryomov wrote: >> Hello, >> >> Any kernel that has 0f2d5be792b0 ("rbd: use reference counts for image >> requests", went into 3.16) backported should also have

Backport of 2761713d35e3 for < 3.18

2015-08-24 Thread Ilya Dryomov
Hi, The following is the backport of commit 2761713d35e3 ("rbd: fix copyup completion race"), which was merged into 4.2-rc6, for >= 3.10 && < 3.18 kernels. Please apply. Thanks, Ilya -- >8 -- From: Ilya Dryomov Date: Thu, 16 Jul 2015 17:36:11 +030

Re: kernel BUG at fs/ceph/caps.c in 3.14.28

2015-01-30 Thread Ilya Dryomov
On Fri, Jan 30, 2015 at 2:35 AM, Markus Blank-Burian wrote: > > I have triggered this bug: http://tracker.ceph.com/issues/9928 some times > the last days in 3.14.28. This one is fixed by commit > 97c85a828f36bbfffe9d77b977b65a5872b6cad4, which will be included in 3.19. > This patch does not apply

[PATCH] rbd: fix rbd_dev_parent_get() when parent_overlap == 0

2015-02-03 Thread Ilya Dryomov
ar as proper locking goes regardless. Cc: stable@vger.kernel.org # 3.11+ Signed-off-by: Ilya Dryomov Reviewed-by: Josh Durgin Reviewed-by: Alex Elder [idryo...@redhat.com: backport to 3.14: context] --- drivers/block/rbd.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deleti

Request for inclusion: commit 638c323c4d1f

2015-02-11 Thread Ilya Dryomov
Hello, Any kernel that has 0f2d5be792b0 ("rbd: use reference counts for image requests", went into 3.16) backported should also have 638c323c4d1f ("rbd: drop an unsafe assertion", went into 3.14). Please add 638c323c4d1f to 3.10, 3.12, Ubuntu 3.13-lts and anything else that includes 0f2d5be792b0.

Backport of 6d7fdb0ab351 for 3.18.y and 3.19.y

2015-04-09 Thread Ilya Dryomov
Hi Greg and Sasha, This is a backport of 6d7fdb0ab351 for 3.18.y and 3.19.y. Please apply. Thanks, Ilya -- >8 -- From: Ilya Dryomov Date: Thu, 2 Apr 2015 14:40:58 +0300 Subject: [PATCH] Revert "libceph: use memalloc flags for net IO" This r

Re: Backport of 6d7fdb0ab351 for 3.18.y and 3.19.y

2015-04-26 Thread Ilya Dryomov
On Sun, Apr 26, 2015 at 12:30 PM, Greg KH wrote: > On Thu, Apr 09, 2015 at 07:53:13PM +0300, Ilya Dryomov wrote: >> Hi Greg and Sasha, >> >> This is a backport of 6d7fdb0ab351 for 3.18.y and 3.19.y. Please >> apply. > > It's already in 3.19-stabl