]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agocommon: change the type of counter total/unhealthy_workers 7254/head
Guang Yang [Sat, 16 Jan 2016 00:37:11 +0000 (00:37 +0000)]
common: change the type of counter total/unhealthy_workers

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
10 years agoMerge remote-tracking branch 'upstream/jewel'
Jason Dillaman [Thu, 14 Jan 2016 21:21:05 +0000 (16:21 -0500)]
Merge remote-tracking branch 'upstream/jewel'

10 years agoMerge pull request #7222 from dack/master
Sage Weil [Thu, 14 Jan 2016 20:49:03 +0000 (15:49 -0500)]
Merge pull request #7222 from dack/master

ceph-disk: add -f flag for btrfs mkfs

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge branch 'greg-fs-testing'
Greg Farnum [Thu, 14 Jan 2016 18:27:17 +0000 (10:27 -0800)]
Merge branch 'greg-fs-testing'

10 years agofsx: checkout old version until it compiles properly on miras
Greg Farnum [Wed, 13 Jan 2016 21:17:53 +0000 (13:17 -0800)]
fsx: checkout old version until it compiles properly on miras

I sent a patch to xfstests upstream at
http://article.gmane.org/gmane.comp.file-systems.fstests/1665, but
until that's fixed we need a version that works in our test lab.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge branch 'wip-13569' of git://github.com/ukernel/ceph into greg-fs-testing
Greg Farnum [Wed, 13 Jan 2016 02:37:56 +0000 (18:37 -0800)]
Merge branch 'wip-13569' of git://github.com/ukernel/ceph into greg-fs-testing

https://github.com/ceph/ceph/pull/6463

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge branch 'wip-13127-master' into greg-fs-testing
Greg Farnum [Wed, 13 Jan 2016 02:37:24 +0000 (18:37 -0800)]
Merge branch 'wip-13127-master' into greg-fs-testing

https://github.com/ceph/ceph/pull/5990

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge remote-tracking branch 'origin/wip-libcephfs-acl' into greg-fs-testing
Greg Farnum [Thu, 14 Jan 2016 18:24:15 +0000 (10:24 -0800)]
Merge remote-tracking branch 'origin/wip-libcephfs-acl' into greg-fs-testing

https://github.com/ceph/ceph/pull/5658

Reviewed-by: John Spray <jspray@redhat.com>
Conflicts:
src/common/config_opts.h

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge branch 'wip-root-metadata' of git://github.com/jcsp/ceph into greg-fs-testing
Greg Farnum [Wed, 13 Jan 2016 01:57:04 +0000 (17:57 -0800)]
Merge branch 'wip-root-metadata' of git://github.com/jcsp/ceph into greg-fs-testing

https://github.com/ceph/ceph/pull/6179

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agodoc/release-notes: v10.0.2
Sage Weil [Thu, 14 Jan 2016 14:47:29 +0000 (09:47 -0500)]
doc/release-notes: v10.0.2

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7235 from theanalyst/fix/pybind-build-failure
Jason Dillaman [Thu, 14 Jan 2016 14:30:46 +0000 (09:30 -0500)]
Merge pull request #7235 from theanalyst/fix/pybind-build-failure

pybind: fix build failure, remove extraneous semicolon in method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
10 years agopybind/rbd.pyx: drop stray semicolon
Sage Weil [Thu, 14 Jan 2016 14:22:48 +0000 (09:22 -0500)]
pybind/rbd.pyx: drop stray semicolon

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agopybind: remove extraneous semicolon in method 7235/head
Abhishek Lekshmanan [Thu, 14 Jan 2016 13:51:32 +0000 (14:51 +0100)]
pybind: remove extraneous semicolon in method

A semicolon on `rbd_build_object_map` method was causing build failures
in current master

Fixes: #14371
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
10 years agoosd: less chatter about tick 7234/head
Sage Weil [Thu, 14 Jan 2016 13:46:45 +0000 (08:46 -0500)]
osd: less chatter about tick

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7212 from caibo2014/fix-cephin-pipe-error
Kefu Chai [Thu, 14 Jan 2016 12:23:28 +0000 (20:23 +0800)]
Merge pull request #7212 from caibo2014/fix-cephin-pipe-error

ceph.in: avoid a broken pipe error when use ceph command

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoceph.in:avoid a broken pipe error when use ceph command 7212/head
Bo Cai [Wed, 13 Jan 2016 09:20:33 +0000 (17:20 +0800)]
ceph.in:avoid a broken pipe error when use ceph command

Fixes: #14354
Signed-off-by: Bo Cai <cai.bo@h3c.com>
10 years agoMerge pull request #7210 from swamireddy/contrib_list_10
Loic Dachary [Thu, 14 Jan 2016 11:05:56 +0000 (12:05 +0100)]
Merge pull request #7210 from swamireddy/contrib_list_10

mailmap update

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #7227 from dwj192/dwj-paxos
Kefu Chai [Thu, 14 Jan 2016 10:21:15 +0000 (18:21 +0800)]
Merge pull request #7227 from dwj192/dwj-paxos

mon: paxos is_recovering calc error

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #7216 from jcsp/wip-14357
Yan, Zheng [Thu, 14 Jan 2016 10:16:58 +0000 (18:16 +0800)]
Merge pull request #7216 from jcsp/wip-14357

mds: advance clientreplay when replying

10 years agoMerge pull request #7219 from aiicore/affiliation
Loic Dachary [Thu, 14 Jan 2016 08:35:00 +0000 (09:35 +0100)]
Merge pull request #7219 from aiicore/affiliation

mailmap: Igor Podoski affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomon: paxos is_recovering calc error 7227/head
Weijun Duan [Thu, 14 Jan 2016 02:16:00 +0000 (21:16 -0500)]
mon: paxos is_recovering calc error

Fix:#14368

Signed-off-by: Weijun Duan <duanweijun@h3c.com>
10 years agoMerge pull request #7224 from dillaman/wip-13818
Josh Durgin [Thu, 14 Jan 2016 01:17:55 +0000 (17:17 -0800)]
Merge pull request #7224 from dillaman/wip-13818

tests: snap rename and rebuild object map in client update test

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #7220 from dillaman/wip-13810-jewel
Josh Durgin [Thu, 14 Jan 2016 01:07:27 +0000 (17:07 -0800)]
Merge pull request #7220 from dillaman/wip-13810-jewel

tests: notification slave needs to wait for master

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #7208 from dillaman/wip-14163-jewel
Josh Durgin [Thu, 14 Jan 2016 00:56:29 +0000 (16:56 -0800)]
Merge pull request #7208 from dillaman/wip-14163-jewel

helgrind: fix real (and imaginary) race conditions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agotests: snap rename and rebuild object map in client update test 7224/head
Jason Dillaman [Thu, 14 Jan 2016 00:02:39 +0000 (19:02 -0500)]
tests: snap rename and rebuild object map in client update test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agopybind/rbd.pyx: add rebuild_object_map method
Jason Dillaman [Wed, 13 Jan 2016 23:07:01 +0000 (18:07 -0500)]
pybind/rbd.pyx: add rebuild_object_map method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #7215 from trociny/wip-rbd-nbd-fixes
Jason Dillaman [Wed, 13 Jan 2016 21:10:56 +0000 (16:10 -0500)]
Merge pull request #7215 from trociny/wip-rbd-nbd-fixes

rbd-nbd: fix up return code handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
10 years agoadd -f flag for btrfs mkfs 7222/head
Darrell Enns [Wed, 13 Jan 2016 19:44:40 +0000 (11:44 -0800)]
add -f flag for btrfs mkfs

10 years agotests: notification slave needs to wait for master 7220/head
Jason Dillaman [Wed, 13 Jan 2016 17:44:01 +0000 (12:44 -0500)]
tests: notification slave needs to wait for master

If the slave instance starts before the master, race
conditions are possible.

Fixes: #13810
Backport: infernalis, hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: log write/discard errors from clip operation
Jason Dillaman [Wed, 13 Jan 2016 17:42:05 +0000 (12:42 -0500)]
librbd: log write/discard errors from clip operation

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agomailmap: Igor Podoski affiliation 7219/head
Igor Podoski [Wed, 13 Jan 2016 16:24:09 +0000 (17:24 +0100)]
mailmap: Igor Podoski affiliation

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
10 years ago10.0.2 v10.0.2
Jenkins Build Slave User [Wed, 13 Jan 2016 16:22:27 +0000 (16:22 +0000)]
10.0.2

10 years agoMerge pull request #7174 from xiexingguo/xxg-wip-14332
Jason Dillaman [Wed, 13 Jan 2016 15:37:40 +0000 (10:37 -0500)]
Merge pull request #7174 from xiexingguo/xxg-wip-14332

librbd: fix potential memory leak

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #7165 from xiexingguo/xxg-wip-14316
Jason Dillaman [Wed, 13 Jan 2016 15:34:12 +0000 (10:34 -0500)]
Merge pull request #7165 from xiexingguo/xxg-wip-14316

cls_rbd: add guards for error cases

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
10 years agoosdc: hold rwlock when updating crush location config 7208/head
Jason Dillaman [Wed, 13 Jan 2016 14:53:29 +0000 (09:53 -0500)]
osdc: hold rwlock when updating crush location config

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agomsg/simple: destroy spinlock in destructor
Jason Dillaman [Tue, 12 Jan 2016 14:50:25 +0000 (09:50 -0500)]
msg/simple: destroy spinlock in destructor

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agoosdc: hold writer lock when updating session ops
Jason Dillaman [Mon, 11 Jan 2016 14:50:15 +0000 (09:50 -0500)]
osdc: hold writer lock when updating session ops

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrados: hold lock while testing state variable
Jason Dillaman [Wed, 13 Jan 2016 01:35:06 +0000 (20:35 -0500)]
librados: hold lock while testing state variable

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agoconfig: avoid re-entrant locking on observer callback
Jason Dillaman [Wed, 13 Jan 2016 01:34:41 +0000 (20:34 -0500)]
config: avoid re-entrant locking on observer callback

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agoWorkQueue: delay registering PointerWQ with thread pool
Jason Dillaman [Wed, 13 Jan 2016 01:33:22 +0000 (20:33 -0500)]
WorkQueue: delay registering PointerWQ with thread pool

Derived classes should be responsible for registration to avoid
accessing a partially constructed object.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agohelgrind: suppress race conditions in external libraries
Jason Dillaman [Wed, 13 Jan 2016 01:32:35 +0000 (20:32 -0500)]
helgrind: suppress race conditions in external libraries

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agohelgrind: annotate false-positive race conditions
Jason Dillaman [Fri, 8 Jan 2016 17:34:45 +0000 (12:34 -0500)]
helgrind: annotate false-positive race conditions

Fixes: #14163
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agodeb,rpm: add valgrind to build dependencies
Jason Dillaman [Fri, 8 Jan 2016 17:21:58 +0000 (12:21 -0500)]
deb,rpm: add valgrind to build dependencies

Provides necessary support for annotating helgrind
false-positives.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agomailmap: Jacek J. Łakis affiliation 7210/head
Swami Reddy [Wed, 13 Jan 2016 13:54:41 +0000 (19:24 +0530)]
mailmap:  Jacek J. Łakis affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agoMerge pull request #7069 from wonzhq/recovery-cache-hint
Sage Weil [Wed, 13 Jan 2016 13:23:45 +0000 (08:23 -0500)]
Merge pull request #7069 from wonzhq/recovery-cache-hint

osd: add cache hint when pushing raw clone during recovery

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7117 from efirs/ef_light_pg_get_put
Sage Weil [Wed, 13 Jan 2016 13:23:29 +0000 (08:23 -0500)]
Merge pull request #7117 from efirs/ef_light_pg_get_put

osd: avoid debug std::string initialization in PG::get/put

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7139 from tchaikov/wip-check-for-overlapped-rule
Sage Weil [Wed, 13 Jan 2016 13:22:50 +0000 (08:22 -0500)]
Merge pull request #7139 from tchaikov/wip-check-for-overlapped-rule

crush/CrushTester: check for overlapped rules

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7156 from xiexingguo/xxg-wip-14299
Sage Weil [Wed, 13 Jan 2016 13:21:32 +0000 (08:21 -0500)]
Merge pull request #7156 from xiexingguo/xxg-wip-14299

librados: fix several flaws introduced by the enumeration_objects API

Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
10 years agomailmap: Drunkard Zhang affiliation
Swami Reddy [Wed, 13 Jan 2016 13:00:59 +0000 (18:30 +0530)]
mailmap: Drunkard Zhang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Anthony Alba affiliation
Swami Reddy [Wed, 13 Jan 2016 12:56:46 +0000 (18:26 +0530)]
mailmap: Anthony Alba affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Dunrong Huang affiliation
Swami Reddy [Wed, 13 Jan 2016 12:36:43 +0000 (18:06 +0530)]
mailmap: Dunrong Huang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Jeremy Qian affiliation
Swami Reddy [Wed, 13 Jan 2016 12:27:42 +0000 (17:57 +0530)]
mailmap: Jeremy Qian affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Shang Ding affiliation
Swami Reddy [Wed, 13 Jan 2016 12:25:59 +0000 (17:55 +0530)]
mailmap: Shang Ding affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Chuanhong Wang affiliation
Swami Reddy [Wed, 13 Jan 2016 12:07:44 +0000 (17:37 +0530)]
mailmap: Chuanhong Wang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomds: advance clientreplay when replying 7216/head
John Spray [Wed, 13 Jan 2016 11:38:17 +0000 (11:38 +0000)]
mds: advance clientreplay when replying

...not just at the end of _dispatch.  Often we reply
to clients (i.e. complete a request) outside of
_dispatch, and currently in these cases we fail
to check for clientreplay completion (only hitting
that next time someone talks to _dispatch)

Fixes: #14357
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomailmap: Marc Koderer affiliation
Swami Reddy [Wed, 13 Jan 2016 12:00:06 +0000 (17:30 +0530)]
mailmap:  Marc Koderer affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Kongming Wu name normalization
Swami Reddy [Wed, 13 Jan 2016 11:47:08 +0000 (17:17 +0530)]
mailmap: Kongming Wu name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Zhang Huan affiliation
Swami Reddy [Wed, 13 Jan 2016 11:20:56 +0000 (16:50 +0530)]
mailmap: Zhang Huan affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Wei Feng affiliation
Swami Reddy [Wed, 13 Jan 2016 11:12:37 +0000 (16:42 +0530)]
mailmap: Wei Feng affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agotests: improve rbd-nbd tests 7215/head
Mykola Golub [Wed, 13 Jan 2016 10:55:32 +0000 (12:55 +0200)]
tests: improve rbd-nbd tests

- cleanup on a test failure;
- minimize interference with other processes (tests) that are
  run concurrently;
- use xmlstarlet when parsing rbd output;
- add exit status test.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agorbd-nbd: correctly set exit status if map command failed
Mykola Golub [Wed, 13 Jan 2016 10:47:58 +0000 (12:47 +0200)]
rbd-nbd: correctly set exit status if map command failed

- parent_wait() returns child exit status so test for "!= 0";
- do_map() is expected to return a negative value on failure.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agorbd-nbd: returned length equal requested only for read and write
Mykola Golub [Wed, 13 Jan 2016 10:42:47 +0000 (12:42 +0200)]
rbd-nbd: returned length equal requested only for read and write

On success aio_discard returns 0.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agomailmap: Lenz Grimmer affiliation
Swami Reddy [Wed, 13 Jan 2016 09:37:49 +0000 (15:07 +0530)]
mailmap: Lenz Grimmer affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Igor Fedotov affiliation
Swami Reddy [Wed, 13 Jan 2016 09:17:30 +0000 (14:47 +0530)]
mailmap: Igor Fedotov affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Igor Podoski affiliation
Swami Reddy [Wed, 13 Jan 2016 09:12:16 +0000 (14:42 +0530)]
mailmap: Igor Podoski affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Cilang Zhao affiliation
Swami Reddy [Wed, 13 Jan 2016 09:00:05 +0000 (14:30 +0530)]
mailmap: Cilang Zhao affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agoMerge pull request #7204 from dillaman/wip-14308-jewel
Josh Durgin [Wed, 13 Jan 2016 04:00:06 +0000 (20:00 -0800)]
Merge pull request #7204 from dillaman/wip-14308-jewel

librbd: better handling of exclusive lock transition period

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoclient: add scattered write callback to ObjecterWriteback
Yan, Zheng [Sat, 19 Sep 2015 13:13:33 +0000 (21:13 +0800)]
client: add scattered write callback to ObjecterWriteback

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Update for ceph::real_time
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoobjectcacher: coalesce dirty buffers in one object into one IO
Yan, Zheng [Mon, 7 Dec 2015 08:14:43 +0000 (16:14 +0800)]
objectcacher: coalesce dirty buffers in one object into one IO

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Update for ceph::real_time
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #6505 from aiicore/reduce_strings
Sage Weil [Wed, 13 Jan 2016 02:28:46 +0000 (21:28 -0500)]
Merge pull request #6505 from aiicore/reduce_strings

osd: reduce string use in coll_t::calc_str()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Evgeniy Firsov <evgeniy.firsov@sandisk.com>
10 years agoMerge pull request #7054 from songbaisen/master
Sage Weil [Wed, 13 Jan 2016 02:27:52 +0000 (21:27 -0500)]
Merge pull request #7054 from songbaisen/master

osd: optimize the session_handle_reset function

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #7055 from xiexingguo/xxg-wip-14185
Sage Weil [Wed, 13 Jan 2016 02:27:11 +0000 (21:27 -0500)]
Merge pull request #7055 from xiexingguo/xxg-wip-14185

osd: several small cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #7085 from tchaikov/wip-11692
Sage Weil [Wed, 13 Jan 2016 02:26:24 +0000 (21:26 -0500)]
Merge pull request #7085 from tchaikov/wip-11692

config: complains when a setting is not tracked

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7097 from tchaikov/bloat-leveldb-new
Sage Weil [Wed, 13 Jan 2016 02:25:39 +0000 (21:25 -0500)]
Merge pull request #7097 from tchaikov/bloat-leveldb-new

tools: ceph_monstore_tool: add inflate-pgmap command

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7109 from Aran85/wip-mon-laggy-interval
Sage Weil [Wed, 13 Jan 2016 02:25:19 +0000 (21:25 -0500)]
Merge pull request #7109 from Aran85/wip-mon-laggy-interval

mon/OSDMonitor: osdmap laggy set a maximum limit for interval

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7151 from ceph/wip-14256
Sage Weil [Wed, 13 Jan 2016 02:24:18 +0000 (21:24 -0500)]
Merge pull request #7151 from ceph/wip-14256

osdc: Fix race condition with tick_event and shutdown

Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7157 from songbaisen/song3
Sage Weil [Wed, 13 Jan 2016 02:23:45 +0000 (21:23 -0500)]
Merge pull request #7157 from songbaisen/song3

crush: clean up whitespace removal

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agomailmap: Hector Martin affiliation
Swami Reddy [Tue, 12 Jan 2016 23:28:57 +0000 (04:58 +0530)]
mailmap: Hector Martin affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Tao Chang affiliation
Swami Reddy [Tue, 12 Jan 2016 23:00:57 +0000 (04:30 +0530)]
mailmap: Tao Chang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Florent Manens affiliation
Swami Reddy [Tue, 12 Jan 2016 22:50:32 +0000 (04:20 +0530)]
mailmap: Florent Manens affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agomailmap: Evgeniy Firsov affiliation
Swami Reddy [Tue, 12 Jan 2016 22:39:29 +0000 (04:09 +0530)]
mailmap: Evgeniy Firsov affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
10 years agoMerge pull request #7205 from ceph/wip-python-dev-dep
Alfredo Deza [Tue, 12 Jan 2016 22:22:15 +0000 (17:22 -0500)]
Merge pull request #7205 from ceph/wip-python-dev-dep

packaging: add build dependency on python devel package

Reviewed-by: Alfredo Deza <adeza@redhat.com>
10 years agopackaging: add build dependency on python devel package 7205/head
Josh Durgin [Tue, 12 Jan 2016 19:12:28 +0000 (11:12 -0800)]
packaging: add build dependency on python devel package

This is required for building python modules with cython, but for some
reason is not a direct dependency (on debian only a recommends) for
the cython package itself.

Refs: #14059
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #6944 from linuxbox2/wip-civetwarn
Yehuda Sadeh [Tue, 12 Jan 2016 18:51:20 +0000 (10:51 -0800)]
Merge pull request #6944 from linuxbox2/wip-civetwarn

rgw: warn on suspicious civetweb frontend parameters

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agolibrbd: add additional granularity to lock states 7204/head
Jason Dillaman [Tue, 12 Jan 2016 18:00:34 +0000 (13:00 -0500)]
librbd: add additional granularity to lock states

Allow all pre-release actions to see that the exclusive lock is
still owned and all post-acquire actions to see that the exclusive
lock is now owned.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: initialize object map before replaying journal
Jason Dillaman [Tue, 12 Jan 2016 16:56:24 +0000 (11:56 -0500)]
librbd: initialize object map before replaying journal

The journal might replay write events which will need to update the
object map.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: do not accept RPC requests while transitioning lock state
Jason Dillaman [Tue, 12 Jan 2016 15:35:05 +0000 (10:35 -0500)]
librbd: do not accept RPC requests while transitioning lock state

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: avoid error message when peer owns exclusive lock
Jason Dillaman [Tue, 12 Jan 2016 15:15:09 +0000 (10:15 -0500)]
librbd: avoid error message when peer owns exclusive lock

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agojava/test: update for libcephfs permission check 5658/head
Yan, Zheng [Tue, 12 Jan 2016 15:01:02 +0000 (23:01 +0800)]
java/test: update for libcephfs permission check

libcephfs permission check does not allow some operations for
non-root userm, disable the permission check for mount tests.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agocmake: include access tests in test_libcephfs
Yan, Zheng [Tue, 12 Jan 2016 13:58:39 +0000 (21:58 +0800)]
cmake: include access tests in test_libcephfs

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: allow user with WRITE perm to set atime/mtime to current time
Yan, Zheng [Wed, 21 Oct 2015 14:54:10 +0000 (22:54 +0800)]
client: allow user with WRITE perm to set atime/mtime to current time

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #6332 from dx9/wip-12406-test_librdb_fsx
Ilya Dryomov [Tue, 12 Jan 2016 12:18:24 +0000 (13:18 +0100)]
Merge pull request #6332 from dx9/wip-12406-test_librdb_fsx

test/librbd/fsx: Use c++11 std::mt19937 generator instead of random_r()

Improve portability - random_r() is GNU-specific.

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
10 years agoclient: reduce _getattr() calls during permission check
Yan, Zheng [Mon, 19 Oct 2015 08:10:43 +0000 (16:10 +0800)]
client: reduce _getattr() calls during permission check

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agotest_libcephfs: update test cases for libcephfs permission check
Yan, Zheng [Mon, 12 Oct 2015 08:47:33 +0000 (16:47 +0800)]
test_libcephfs: update test cases for libcephfs permission check

libcephfs permission check does not allow some operations for
non-root user. so we temporarily disable the permission check
for some tests.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: add permission check for libcephfs
Yan, Zheng [Sat, 10 Oct 2015 11:26:01 +0000 (19:26 +0800)]
client: add permission check for libcephfs

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: apply umask for new files when posix acl is enabled
Yan, Zheng [Tue, 29 Sep 2015 09:00:58 +0000 (17:00 +0800)]
client: apply umask for new files when posix acl is enabled

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: permission check for harklink
Yan, Zheng [Mon, 12 Oct 2015 09:22:27 +0000 (17:22 +0800)]
client: permission check for harklink

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: permission check for setxattr/removexattr
Yan, Zheng [Tue, 29 Sep 2015 08:41:19 +0000 (16:41 +0800)]
client: permission check for setxattr/removexattr

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: permission check for lookup
Yan, Zheng [Tue, 29 Sep 2015 08:40:11 +0000 (16:40 +0800)]
client: permission check for lookup

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: permission check for setattr
Yan, Zheng [Tue, 29 Sep 2015 08:31:03 +0000 (16:31 +0800)]
client: permission check for setattr

Signed-off-by: Yan, Zheng <zyan@redhat.com>