Mykola Golub
f99dbbd153
librbd: potential null pointer dereference when requesting exclusive lock
...
m_require_lock_on_read should be cleared when holding owner_lock.
For safety, also check that exclusive_lock is not null.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
ac71dbca3e
librbd: interlock image state machine and update features operations
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
5a68e334d8
librbd: use counter to track exclusive lock block/unblock requests
...
It's possible the watch/notify message is duplicated resulting in two
concurrent block_requests() call.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
93cf63f993
rbd-mirror: replicate dynamic feature updates
...
Fixes: http://tracker.ceph.com/issues/16213
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
3c270b57bf
librbd: async state machine to enable/disable image features
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
606344dd29
librbd: templetize journal StandardPolicy
...
It will be needed for unit tests with a mocked ImageCtx.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
4269a5fc0c
librbd: allow to call append_disabled for DisabledPolicy
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
dcfb8aa141
librbd: async methods to enable/disable mirroring
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
953561f841
librbd: async method to check journal tag owner
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
9026b515e6
librbd: async image set flags method
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
Mykola Golub
a0cf640d58
librbd: async methods to create/remove object map
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
Mykola Golub
28e576e278
cls/rbd: alow to call set_features asynchronously
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
Mykola Golub
ac25cb1946
cls/journal: async client_list method
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
John Spray
bfbb16cae1
Merge pull request #11120 from renhwztetecs/renhw-wip-mds-server
...
mds/server: clean up handle_client_open()
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-09-28 12:14:08 +01:00
John Spray
5524311246
Merge pull request #11078 from ukernel/wip-17271
...
mds: remove fail-safe queueing replay request
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-09-28 12:12:41 +01:00
John Spray
f9f8a36b1e
Merge pull request #11225 from ukernel/wip-17392
...
client: protect InodeRef with client_lock
Reviewed-by: John Spray <john.spray@redhat.com>
2016-09-28 12:10:13 +01:00
Sage Weil
e4ed13fed0
unittest_bluestore_types: init g_ceph_context
...
The methods we're testing use it for dout.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-27 16:23:21 -04:00
Sage Weil
67f2602700
Merge pull request #11238 from theanalyst/changelog-v10.2.3
...
doc/changelog: add v10.2.3
2016-09-27 11:02:54 -05:00
Sage Weil
f4ce7f0093
Merge pull request #10814 from liewegas/wip-bluestore-precondition
...
os/bluestore: precondition rocksdb/bluefs during mkfs
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-09-27 11:00:38 -05:00
Abhishek Lekshmanan
9c691776aa
doc/changelog: add v10.2.3
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 17:59:55 +02:00
Sage Weil
0e2198fa15
os/bluestore: precondition rocksdb on mkfs
...
Write N bytes of garbage to the kv store on startup. With rocksdb,
this ensures that our log files are preallocated.
This option needs to match up with the rocksdb tunables so that it
is enough data to start recycling log files. For now, start with
128MB.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-27 11:38:42 -04:00
Sage Weil
828c100647
Merge pull request #11234 from theanalyst/jewel-release-notes
...
doc/release-notes: v10.2.3 jewel
2016-09-27 10:18:25 -05:00
Sage Weil
5f5880d080
Merge pull request #11216 from liewegas/wip-bluestore-compress-map
...
os/bluestore: prevent extent merging across shard boundaries
Reviewed-by: Somnath Roy <somnath.roy@sandisk.com>
2016-09-27 09:45:38 -05:00
Abhishek Lekshmanan
9f97af26b8
doc/release-notes: more fixes to 10.2.3
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 16:38:26 +02:00
Jason Dillaman
d4f144ec3b
Merge pull request #10445 from rjfd/wip-15259
...
journal: increase concurrency/parallelism of journal recorder
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-09-27 10:35:01 -04:00
Abhishek Lekshmanan
d12b5f6b5a
doc/release-notes: v10.2.3 jewel
...
Adding release notes for the next jewel release
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 16:28:05 +02:00
Abhishek Lekshmanan
de0e0edbd5
doc: add v10.2.3 to releases table
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 16:28:05 +02:00
Sage Weil
1f5d75f31a
Merge pull request #11226 from zealoussnow/wip-0926
...
doc: missing "make vstart" in quick_guide.rst
2016-09-26 15:48:40 -05:00
Sage Weil
78e92a9ac7
Merge pull request #11228 from stiopaa1/osd_pg_removeUnneededCount1
...
osd/PG.cc: remove unneeded use of count
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 15:42:05 -05:00
Ali Maredia
05c4c9e836
Merge pull request #11229 from liewegas/wip-compressor
...
cmake: remove more autotools hacks
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-09-26 16:36:38 -04:00
Sage Weil
2437693309
ceph-rest-api: drop autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
7e574da961
vstart.sh: drop autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
4ccb6e34ad
detect-build-env-vars.sh: drop autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
404f476ed0
ceph: remove autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
784fe23812
doc: remove old .libs reference
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
b58d230369
unittest_compression_*: remove lib dir hackery
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
ddafda88a3
Merge pull request #10143 from majianpeng/bluefs-fix
...
os/bluestore/BlueFS: don't inc l_bluefs_files_written_wal if overwrite.
2016-09-26 13:09:44 -05:00
John Spray
80b30ec399
Merge pull request #11138 from jcsp/wip-17236
...
mds: handle blacklisting during journal recovery
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-09-26 17:01:07 +01:00
Leo Zhang
9996b49265
doc: missing "make vstart" in quick_guide.rst
...
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2016-09-26 23:25:29 +08:00
Sage Weil
f6bac2c00d
Merge pull request #11220 from stiopaa1/mds_mdsdaemon_CMDSTickclass
...
mds/MDSDaemon: move C_MDS_Tick class to .cc file
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 09:27:54 -05:00
Sage Weil
49ecdac236
Merge pull request #11224 from wjwithagen/patch-13
...
osd-fast-mark-down.sh: fix typo in variable assignments
2016-09-26 09:27:27 -05:00
Sage Weil
fc8e7f313b
Merge pull request #11212 from liewegas/wip-bluestore-spanning-leak
...
os/bluestore: drop unreferenced spanning blobs
2016-09-26 08:45:52 -05:00
Sage Weil
438b6f1cee
Merge pull request #11223 from somnathr/wip-bluestore-leak-fix
...
os/bluestore: fix spanning blob leak from ~ExtentMap
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 08:44:51 -05:00
Sage Weil
2c24454543
Merge pull request #11219 from xiexingguo/xxg-wip-fsck-0924
...
os/bluestore: fix fsck() won't catch stray shard sometimes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 08:43:24 -05:00
Ricardo Dias
5c737038dd
rbd-mirror: test: Fixed timeout problem in rbd_mirror_stress.sh
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 14:25:25 +01:00
Ricardo Dias
aa959e71fe
rbd: Fix race between journal flush and append events
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 14:25:25 +01:00
Ricardo Dias
7b740f5b4a
journal: make librados call async in ObjectRecorder
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 14:25:25 +01:00
Yan, Zheng
748777dd41
client: protect InodeRef with client_lock
...
Fixes: http://tracker.ceph.com/issues/17392
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-09-26 21:20:26 +08:00
Willem Jan Withagen
db603d8f5b
osd-fast-mark-down.sh: fix typo in variable assignments
...
Assignments to variables do not want a '$' in front of them.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-26 14:44:32 +02:00
Ricardo Dias
5c88edd68a
journal: increase concurrency of journal recorder
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 10:26:21 +01:00