Commit Graph

50796 Commits

Author SHA1 Message Date
Sage Weil
3dcadb43e8 os/bluestore: print debug on ENOTEMPTY
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-11 10:41:38 -05:00
Sage Weil
b71f9f14c2 os/bluestore: make _do_omap_clear debug line pretty
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-11 10:41:37 -05:00
Sage Weil
eee3d70085 include/buffer: make is_partial work on empty ptr
Add a few unit tests.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-11 10:41:37 -05:00
Sage Weil
6a60c12e58 osd/ScrubStore: do not use temp collection
Temp collections are deprecated, and used only internally by
FileStore for compat reasons.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-11 10:41:37 -05:00
Sage Weil
166a7a98af osd: simplify split vs backfill behavior
This is more future-proof, in case we add special backfill
completion work in the future.  In the worst case we will re-scan
the parent PG and find no changes.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-11 10:41:37 -05:00
Sage Weil
6524f8bb4a osd/PG: only set split child last_backfill if within PG range
If last_backfill is within the parent's PG range, set teh child to MIN.
If it's in the child's, the parent is done.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-10 16:36:08 -05:00
Gregory Farnum
740c52d656 Merge pull request #8027 from liewegas/wip-reweight-fix
test/pybind/test_ceph_argparse: fix reweight-by-utilization tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-10 13:03:32 -08:00
Yehuda Sadeh
461bd7fa08 Merge pull request #6656 from jmunhoz/wip-bucket-request-payment-usage-log
rgw: add bucket request payment feature usage statistics integration

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-03-10 11:13:24 -08:00
Sage Weil
c812bbae47 Merge pull request #8021 from branch-predictor/bp-bench-full-bw
common/obj_bencher.cc: bump the precision of bandwidth field

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-10 13:08:54 -05:00
Matt Benjamin
70d3e1306f Merge pull request #7675 from vmcloud/wip-12917
rgw: adjust the request_uri to support absoluteURI of http request
2016-03-10 12:03:49 -05:00
Sage Weil
d0f8713196 test/pybind/test_ceph_argparse: fix reweight-by-utilization tests
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-10 11:13:43 -05:00
Kefu Chai
797f1d41d9 man/8/ceph.rst: remove invalid option for reweight-by-*
--yes-i-really-mean-it is not valid option for reweight-by-*

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-10 11:13:42 -05:00
Kefu Chai
76b1450730 Merge pull request #8025 from roidayan/xio-remove_duplicate_peer_addr_assignment
xio: remove duplicate assignment of peer addr

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-10 21:52:36 +08:00
Roi Dayan
d1627f5d01 xio: remove duplicate assignment of peer addr
Signed-off-by: Roi Dayan <roid@mellanox.com>
2016-03-10 15:33:32 +02:00
Jason Dillaman
9cf46b84a8 test: correct journal test failure caused by two merged commits
Commit 21d9595 changed the journal width to 3 objects while commit
a00eae0 changed the signature of the journal create helper.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-10 07:58:31 -05:00
Piotr Dałek
7a461a43ad common/obj_bencher.cc: bump the precision of bandwidth field
When calculated final average bandwidth exceeds 999MB, it starts
to get printed in scientific notation. Bump up the bandwidth
field precision so it'll remain in floating-point format for
a bit longer.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2016-03-10 12:50:47 +01:00
Greg Farnum
c49de8c1c2 Merge remote-tracking branch 'origin/jewel'
Conflicts:
	src/client/Client.h
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-03-10 00:56:37 -08:00
Gregory Farnum
dedcbc6bc2 Merge pull request #7495 from ukernel/jewel-10436
client: flush kernel pagecache before creating snapshot

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-10 00:52:17 -08:00
Gregory Farnum
44f7b87263 Merge pull request #7798 from ukernel/wip-mds-snap
A few more snapshot fixes, mostly around snapshotted inode/dentry tracking

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 22:49:46 -08:00
Gregory Farnum
d783e96775 Merge pull request #7994 from ukernel/jewel-14996
Merge: Fix client handling of "lost" open directories on shutdown

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 22:43:04 -08:00
Greg Farnum
9f69cb1a81 Merge remote-tracking branch 'origin/greg-fs-testing-3-7-damage' 2016-03-09 22:25:25 -08:00
Gregory Farnum
eaded2ea4c Merge pull request #7686 from david-z/wip-fix-fh-ref-leak
ceph-fuse: Fix potential filehandle ref leak at umount

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 22:25:42 -08:00
Gregory Farnum
d63186f4fd Merge pull request #7685 from david-z/wip-fix-put-free-fd-back
[cephfs] fix free fds being exhausted eventually because freed fds are never put back

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-03-09 22:24:22 -08:00
Gregory Farnum
9ae8486875 Merge pull request #7003 from jcsp/wip-cephfs-tmap-migrate
tools/cephfs: add tmap_upgrade

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 22:22:42 -08:00
Gregory Farnum
6f81a7ad9b Merge pull request #8014 from ukernel/wip-15038
mds: fix inode_t::compare()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 22:12:07 -08:00
Dan Mick
1856de3848 Merge pull request #8012 from zmc/jewel
man/8/ceph-disk: fix formatting issue

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-03-09 19:40:04 -08:00
Yan, Zheng
9b79d05c59 mds: fix inode_t::compare()
Fixes: #15038
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-10 10:50:07 +08:00
Josh Durgin
4fdd10d59d Merge pull request #7978 from dillaman/wip-14908
librbd: refresh image if required before replaying journal ops

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 17:51:02 -08:00
Josh Durgin
e3ea4e390f Merge pull request #8009 from dillaman/wip-14988
test: reproducer for writeback CoW deadlock

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 17:30:08 -08:00
Josh Durgin
4260b08fe1 Merge pull request #8005 from dillaman/wip-rbd-lock-fence
pybind: flag an RBD image as closed regardless of result code

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 17:25:55 -08:00
Josh Durgin
facd50d531 Merge pull request #8001 from dillaman/wip-rbd-cram
test: update rbd integration cram tests for new default features

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 17:23:54 -08:00
Jason Dillaman
0d9fb7a749 test: reproducer for writeback CoW deadlock
Refs: #14988

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-09 20:06:46 -05:00
Sage Weil
977bed095d man/8/ceph-disk: fix formatting issue
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/man/8/ceph-disk.rst:39: Unexpected indentation.
WARNING: /srv/autobuild-ceph/gitbuilder.git/build/doc/man/8/ceph-disk.rst:40: Block quote ends without a blank line; unexpected unindent.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8dcaacbb05)
2016-03-09 16:46:21 -07:00
Josh Durgin
3d404f2e1c Merge pull request #7906 from dillaman/wip-14869
journal: re-use common threads between journalers

Conflicts:
	src/journal/JournalPlayer.cc
	src/librbd/Journal.cc
	src/test/rbd_mirror/image_replay.cc
	src/tools/rbd_mirror/ImageReplayer.h
	src/tools/rbd_mirror/Mirror.cc

(merged interface changes to ImageReplayer, and reduced scope for
change to JournalPlayer due to pr #7884 (wip-14663)).

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 14:18:13 -08:00
Josh Durgin
cfed9b6afd Merge pull request #7958 from trociny/wip-rbd-mirror-fixup
rbd-mirror: minor fix-ups for initial skeleton implementation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 14:03:48 -08:00
Josh Durgin
55efa7ae74 Merge pull request #7884 from dillaman/wip-14663
librbd: allocate new journal tag after acquiring exclusive lock

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 14:02:38 -08:00
Josh Durgin
3538f11145 Merge pull request #7772 from xinxinsh/wip-14789
librbd: truncate does not need to mark the object as existing in the object map

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 14:01:54 -08:00
Zack Cerza
89daecf496 Merge pull request #8003 from liewegas/wip-ceph-disk-doc
man/8/ceph-disk: fix formatting issue
2016-03-09 14:32:50 -07:00
Sage Weil
9a480e23b8 Merge pull request #7927 from oritwas/wip-rgw-fix-default
rgw: RGWZoneParams::create should not handle -EEXIST error

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-03-09 16:13:16 -05:00
Sage Weil
cec8f23b6a Merge remote-tracking branch 'gh/jewel' 2016-03-09 15:45:38 -05:00
Sage Weil
5e23cba187 Merge pull request #7768 from xinxinsh/wip-fix-zero
osd: filestore: FALLOC_FL_PUNCH_HOLE must be used with FALLOC_FL_KEEP_SIZE

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-09 15:05:28 -05:00
Sage Weil
811229baa4 Merge pull request #7844 from xiexingguo/xxg-wip-14922
osd: replicatedpg: break out loop if we encounter fatal error during do_pg_op()

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-09 15:03:42 -05:00
Sage Weil
9c13921f38 Merge pull request #7864 from dillaman/wip-librados-aio-notify
librados: race condition on aio_notify completion handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-09 15:03:14 -05:00
Sage Weil
96face6e8c Merge pull request #7928 from branch-predictor/bp-radostool-reduce-mem
tools/rados: reduce "rados put" memory usage by op_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-09 15:02:00 -05:00
Sage Weil
af5d1b1aaf Merge pull request #7967 from tchaikov/wip-si-cast-coverity
common/strtol.cc: fix the coverity warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2016-03-09 15:01:31 -05:00
Sage Weil
42a9e65cc9 Merge pull request #7948 from avnerbh/fix_avoid_enqueue_dup_code
msg: remove duplicated code - local_delivery will now call 'enqueue'

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 14:07:21 -05:00
Sage Weil
2b9775db2c Merge pull request #7890 from liewegas/wip-reweight
mon: osd [test-]reweight-by-{pg,utilization} command updates

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-03-09 14:06:30 -05:00
Jason Dillaman
ca160372f4 pybind: flag an RBD Image as closed regardless of result code
The image will always be closed -- the error code just alerts the
user to any possible error encountered when closing the image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-09 13:56:16 -05:00
Jason Dillaman
a8e82a3809 librbd: permit watch flush to return error code
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-09 13:55:29 -05:00
Sage Weil
661891aa28 mon: remove range=100 from reweight-by-* commands
Specifying the range makes it skip instead of error when you give
it a bad value.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-09 13:25:55 -05:00