Greg Farnum
0ea20a668c
Locker: accept ctime updates from clients without dirty write caps
...
The ctime changes any time the inode does. That can happen even without
the file itself having changed, so we'd better accept the update whenever
the auth caps have dirtied, without worrying about the file caps!
Fixes : #9514
Backport: firefly
Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2014-09-30 10:24:51 -07:00
Gregory Farnum
70406edc33
Merge pull request #2605 from ceph/wip-osd-objecter
...
osd: do not bind ms_objecter messenger
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-09-30 10:14:38 -07:00
Loic Dachary
58961d97d7
Merge pull request #2597 from cchengleo/wip-test-shared-cache
...
test shared cache
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-30 16:59:05 +02:00
Cheng Cheng
2e9c7c9a45
test-shared-cache:
...
Add test for "lower_bound" method.
Add multithread tests for "lookup" and "lower_bound" methods.
Signed-off-by: Cheng Cheng <ccheng.leo@gmail.com>
Loic Dachary <loic@dachary.org>
2014-09-30 10:54:18 -04:00
cchengleo
d34c21ce48
test-shared-cache:
...
Initial draft for the unit test of "common/shared_cache.hpp".
Signed-off-by: Cheng Cheng <ccheng.leo@gmail.com>
Loic Dachary <loic@dachary.org>
2014-09-30 10:53:19 -04:00
Loic Dachary
172db92c95
Merge pull request #2609 from dachary/wip-doc-context
...
common: document C_GatherBuilder and C_Gather
Reviewed-by: John Spray <john.spray@redhat.com>
2014-09-30 15:03:15 +02:00
Loic Dachary
de87d5451f
common: document C_GatherBuilder and C_Gather
...
* Introduction explaining what they are used for
* Commented example to illustrate the abstract description
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-30 15:01:22 +02:00
Yan, Zheng
a67c2f9768
mds: Add session to sessionmap when its state becomes opening
...
following sequence events may happen.
- client sends reconnect message to a recovering MDS.
- MDS::ms_verify_authorizer() create a session for the client, the
session is in closed state.
- MDS::handle_client_reconnect() sends session close message to
the client.
- client closes the old connection and opens a new connection
- MDS::ms_verify_authorizer() is called for a new connection
- MDS::ms_handle_reset() is called for the old connection
- MDS::ms_handle_accept() is called for the new connection
MDS::ms_handle_reset() removes client's session from the session map, this
can cause null pointer dereference when handling client request. The fix
is add session to sessionmap when its state becomes 'opening' and remove
session from sessionmap when its state becomes 'closed'
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-09-30 20:58:07 +08:00
Josh Durgin
1feba200aa
Objecter: init with a constant of the correct type
...
Just a tiny cleanup.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-09-29 18:12:50 -07:00
Loic Dachary
9c4616dcd2
Merge pull request #2556 from dachary/wip-9572-erasure-code-blaumroth
...
erasure-code: restore jerasure BlaumRoth default w
Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-30 01:48:26 +02:00
Sage Weil
ccf3e06a7c
Merge pull request #2502 from yuyuyu101/kvstore-meta-cache
...
KeyValueStore: performance improvement and docs
2014-09-29 16:43:29 -07:00
Josh Durgin
1daf0551fd
Merge pull request #2523 from ceph/wip-6926
...
rbd: Fix rbd diff for non-existent objects
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-09-29 16:41:47 -07:00
Sage Weil
5281ac7aa9
Merge pull request #2601 from ceph/wip-python-flask
...
debian: python-flask is needed by ceph, not python-ceph
Reviewed-by: Loic Dachary <loic@dachary.org>
2014-09-29 16:24:50 -07:00
Sage Weil
f36e8540d0
Merge remote-tracking branch 'gh/giant'
...
Conflicts:
qa/workunits/cephtool/test.sh
src/test/erasure-code/TestErasureCodeIsa.cc
2014-09-29 16:17:15 -07:00
Sage Weil
46d5518644
osd: do not bind ms_objecter messenger
...
The objecter messenger is only used as a client to initiate client-side
connections to other OSDs. It doesn't need to bind to a port.
This was added in 558d9fc956
to push client
traffic to the cluster interface. This doesn't actually help/work because
we are still connecting to our peers' client-facing addresses.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-09-29 16:11:06 -07:00
Sage Weil
fe3434f41c
debian: move ceph_rest_api.py into ceph
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-09-29 14:28:32 -07:00
Sage Weil
8cda623e0b
ceph.spec.in: move ceph_rest_api.py into ceph
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-09-29 14:24:01 -07:00
Sage Weil
0d1a4171c1
Merge pull request #2602 from athanatos/wip-9574
...
PG: check full ratio again post-reservation
Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 14:14:40 -07:00
Sage Weil
acd49892df
Merge pull request #2604 from athanatos/wip-9113
...
ReplicatedPG: clean out completed trimmed objects as we go
Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 14:02:15 -07:00
Samuel Just
78fc7b8198
Merge pull request #2549 from ceph/wip-9545
...
os/FileJournal: do not request sync while shutting down
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-09-29 13:54:31 -07:00
Samuel Just
f91c571ef6
Merge pull request #2550 from ceph/wip-8629
...
osd: fix cache_evict vs make_writeable/finish_ctx snapdir bug #8629
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-09-29 13:52:21 -07:00
Samuel Just
ffda34c4be
Merge pull request #2510 from somnathr/wip-obj-delete-fix
...
FileStore: Race condition during object delete is fixed
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-09-29 13:44:37 -07:00
Sage Weil
b2416240b8
ceph.spec: fix python-flask dependency
...
This is needed by ceph-rest-api, which is in ceph.rpm; it's not related to
python-ceph (except that ceph-rest-api happens to require that too).
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-09-29 13:44:03 -07:00
Sage Weil
e42424e777
debian: python-flask is needed by ceph, not python-ceph
...
It's used by ceph-rest-api which is in the 'ceph' (server) package.
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-09-29 13:40:18 -07:00
Sage Weil
614157c288
Merge pull request #2598 from ceph/wip-9582
...
librados: fix other timeout segfault
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-09-29 13:08:10 -07:00
John Spray
9d2481c7ea
Merge pull request #2458 from ceph/wip-9341
...
client: trim unused inodes before reconnecting to recovering MDS
Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2014-09-29 21:02:58 +01:00
Loic Dachary
2974c7b88a
Merge pull request #2555 from theanalyst/wip/mailmap
...
mailmap updates
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 20:25:08 +02:00
Abhishek Lekshmanan
984a14763a
mailmap: Riccardo Ferretti affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
8d9fcbca8e
mailmap: Casey Marshall affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
26941eac69
mailmap: Feng Wang affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
23c8fe52c7
mailmap: Scott A. Brandt affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
eedcd9cc02
mailmap: Gerben Meijer affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Gerben Meijer <gerben@daybyday.nl>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
91af25f6c2
mailmap: John Wilkins name normalization
...
Also adding John Wilkins to .peoplemap to track org change
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
242f334472
mailmap: John Spray name normalization
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
75716656d4
mailmap: Samuel Just name normalization
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
5d3c025580
mailmap: Pavan Rallabhandi name normalization
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
214e6cda88
mailmap: Swami Reddy name normalization
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Swami Reddy <swamireddy@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
d0a220256c
mailmap: Volker Voigt affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
dc601c7949
mailmap: Laurent Guerby affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
1a963484f5
mailmap: Johnu George affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Johnu George <johnugeo@cisco.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
f0bbbadd3c
mailmap: Janne Grunau affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
f8179353ef
mailmap: Daniel Schepler affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
29efada5e1
mailmap: Cheng Cheng affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
b167f7047c
mailmap: Sahid Ferdjaoui affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
4b33b584ba
mailmap: Jiang Heng affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
b386b5981a
mailmap: JuanJose Galvez affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
e6bba0d5db
mailmap: Roman Haritonov affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
e133a92ecb
mailmap: Yongyue Sun affiliation
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 21:31:29 +05:30
Sage Weil
9af9df42f2
Merge pull request #2594 from dachary/wip-9620-test-mon-thrash
...
qa/workunits/cephtool/test.sh: fix thrash (ultimate)
Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 08:18:36 -07:00
Loic Dachary
584a54a078
Merge pull request #2582 from ceph/wip-crush-location
...
crushtool: add --location <id> command
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 14:27:23 +02:00