]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Mon, 23 Mar 2015 03:59:40 +0000 (11:59 +0800)]
doc: update .rst file with their .8 counterparts
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Sun, 22 Mar 2015 16:01:08 +0000 (00:01 +0800)]
Merge pull request #4135 from ceph/wip-11198
Fix ceph_test_async_driver failed
Haomai Wang [Sun, 22 Mar 2015 15:59:19 +0000 (23:59 +0800)]
Fix ceph_test_async_driver failed
This test will create 10000 sockets which will failed because of limited system fd. Actually we only need to create several hundreds sockets and it's enough to get the test's goal.
Fix bug #11198
Loic Dachary [Sun, 22 Mar 2015 08:19:58 +0000 (09:19 +0100)]
Merge pull request #3873 from tchaikov/cli-human-readable-errno
rados: translate errno to str in CLI
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Sun, 22 Mar 2015 08:08:21 +0000 (09:08 +0100)]
Merge pull request #3841 from ceph/wip-10217
qa/workunits/fs/misc: fix filelock_interrupt.py
Reviewed-by: John Spray <john.spray@redhat.com>
Loic Dachary [Sun, 22 Mar 2015 08:03:57 +0000 (09:03 +0100)]
Merge pull request #3829 from liewegas/wip-recovery-sleep
osd: inject simple sleep in recovery
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Sat, 21 Mar 2015 22:23:47 +0000 (15:23 -0700)]
Merge pull request #3685 from XinzeChi/wip-mark-started
osd: clear extra mark_started
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 21 Mar 2015 21:53:36 +0000 (14:53 -0700)]
Merge pull request #3282 from tchaikov/pq-test
common/PrioritizedQueue: add basic tests for it
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Sat, 21 Mar 2015 21:52:51 +0000 (14:52 -0700)]
Merge pull request #3177 from davidzhang84/wip-inject-eio-ec
Add EIO injection on EC pool for mdata and data error only for now
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Sat, 21 Mar 2015 21:39:54 +0000 (14:39 -0700)]
Merge pull request #3889 from XinzeChi/wip-tier-stat
osd: add l_osd_op_cache_hit perf counter for cache pool
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 21 Mar 2015 21:39:35 +0000 (14:39 -0700)]
Merge pull request #4010 from majianpeng/osdmap-nspace
mon:make 'ceph osd map' accept namespace.
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Sat, 21 Mar 2015 10:22:49 +0000 (11:22 +0100)]
Merge pull request #4130 from dachary/wip-backports
doc: what does it mean for a release to be supported
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Loic Dachary [Sat, 21 Mar 2015 10:06:28 +0000 (11:06 +0100)]
doc: what does it mean for a release to be supported
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Sat, 21 Mar 2015 00:45:38 +0000 (17:45 -0700)]
Merge pull request #4122 from trhoden/rgw-quickstart
doc: Add RGW quick start info
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Sat, 21 Mar 2015 00:11:35 +0000 (17:11 -0700)]
Merge pull request #4098 from ceph/wip-11128
auth: reinitialize NSS modules after fork()
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yan, Zheng [Fri, 20 Mar 2015 23:13:51 +0000 (07:13 +0800)]
auth: use crypto_init_mutex to protect NSS_Shutdown()
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Travis Rhoden [Fri, 20 Mar 2015 21:07:36 +0000 (17:07 -0400)]
doc: Add RGW quick start info
Add details of how to use ceph-deploy to deploy the CivetWeb-based
RGW present in Hammer.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Sage Weil [Fri, 20 Mar 2015 21:32:29 +0000 (14:32 -0700)]
Merge pull request #4120 from trhoden/quickstart-mon-create
doc: remove reference to old ceph-deploy steps
Reviewed-by: Sage Weil <sage@redhat.com>
Travis Rhoden [Fri, 20 Mar 2015 21:10:54 +0000 (17:10 -0400)]
doc: remove reference to old ceph-deploy steps
ceph-deploy 1.1.3 is ancient, and isn't easily found or installed.
No need to reference it and call out the steps necessary to use if
using it.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Gregory Farnum [Fri, 20 Mar 2015 17:59:26 +0000 (10:59 -0700)]
Merge pull request #4103 from ceph/wip-error-str
mds: fix error_str formatting in scrub output
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Fri, 20 Mar 2015 17:50:56 +0000 (10:50 -0700)]
Merge pull request #4116 from ceph/wip-10368
mds: call wait_for_safe twice in command_flush_journal
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
John Spray [Fri, 20 Mar 2015 17:11:39 +0000 (17:11 +0000)]
mds: call wait_for_safe twice in command_flush_journal
...so that we wait until everyone who was waiting for the first
wait_for_safe has run their completion before we proceed, thus
avoiding the possibility that those completions will execute
during our trimming and cause problems.
Fixes: #10368
Signed-off-by: John Spray <john.spray@redhat.com>
Yan, Zheng [Fri, 20 Mar 2015 17:02:42 +0000 (01:02 +0800)]
auth: reinitialize NSS modules after fork()
Fixes: #11128
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Fri, 20 Mar 2015 04:03:44 +0000 (12:03 +0800)]
auth: properly return error of cephx_calc_client_server_challenge
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Loic Dachary [Fri, 20 Mar 2015 10:35:32 +0000 (11:35 +0100)]
Merge pull request #4114 from apeters1971/wip-isa-lrucache
erasure-code: make ErasureCodeIsaTableCache drop entries according to LRU
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Andreas Peters [Fri, 20 Mar 2015 09:21:26 +0000 (10:21 +0100)]
erasure-code: make ErasureCodeIsaTableCache drop entries according to LRU
There was a bug in the arguments used by the splice function to move elements from the LRU list to the head of the list.
To simplify the implementation the direction of the LRU list has been changed e.g. newest entries are pushed in front.
Signed-off-by: Andreas-Joachim Peters <andreas.joachim.peters@cern.ch>
Loic Dachary [Fri, 20 Mar 2015 09:33:10 +0000 (10:33 +0100)]
Merge pull request #4084 from ceph/wip-switch-to-breathe
Wip switch to breathe
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Wed, 18 Mar 2015 03:52:18 +0000 (11:52 +0800)]
doc: s/Asphyxiate/Breathe/ in documenting.rst
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Mar 2015 03:51:10 +0000 (11:51 +0800)]
doc: enable doxygen for enum
* since we switched to breathe, which supports rendering enum
types
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 17 Mar 2015 15:40:00 +0000 (23:40 +0800)]
doc: Switch doxygen integration back to breathe
* asphyxiate needs more toolings, see
https://github.com/ceph/asphyxiate/issues/1
* this commit basically reverts c96064
* use `autodoxygen` directive to doxygen referenced source files
* do not call `doxygen` explicitly in `build-doc`, `autodoxygen`
will take care of it.
Fixes: #6115
Fixes: #6115
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Fri, 20 Mar 2015 03:23:18 +0000 (11:23 +0800)]
Merge pull request #3983 from yuyuyu101/wip-async-fix-3
Wip async fix 3
Reviewed-by: Sage Weil <sage@redhat.com>
Haomai Wang [Thu, 19 Mar 2015 06:56:23 +0000 (14:56 +0800)]
Thread.cc: Make set_affinity private and correct behavior
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Sage Weil [Fri, 20 Mar 2015 00:24:33 +0000 (17:24 -0700)]
doc/release-notes: more hammer release notes
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Mar 2015 00:19:59 +0000 (17:19 -0700)]
Merge pull request #4085 from ceph/wip-11160
rgw: don't use rgw_socket_path if frontend is configured
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Mar 2015 00:16:15 +0000 (17:16 -0700)]
doc/release-notes: make hammer note about filestore format upgrade
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Thu, 19 Mar 2015 22:05:31 +0000 (22:05 +0000)]
Merge pull request #3885 from Ved-vampir/master
common: add perf counters description
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 19 Mar 2015 22:03:04 +0000 (22:03 +0000)]
Merge pull request #3840 from ceph/wip-libcephfs-fsetxattr
libcephfs: add ceph_f{get,set,list,remove)_xattr
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 19 Mar 2015 22:00:48 +0000 (22:00 +0000)]
Merge pull request #3750 from ceph/wip-dump-cache
mds: Add 'dump cache' asok
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
John Spray [Tue, 17 Mar 2015 18:38:41 +0000 (18:38 +0000)]
mds: implement 'dump cache' asok command
Retains old text format output when user specifies
a filename, else returns JSON. JSON output will
cope less well with large caches, but will be more
useful for automated tests.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 18 Mar 2015 11:20:31 +0000 (11:20 +0000)]
mds: use MDSCacheObject::dump in CDir::dump
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 17 Mar 2015 18:43:42 +0000 (18:43 +0000)]
mds: add CDentry::dump
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 17 Mar 2015 18:42:09 +0000 (18:42 +0000)]
mds: extended dump() for CInode
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 17 Mar 2015 18:41:30 +0000 (18:41 +0000)]
mds: add dump() to MDSCacheObject
Subclasses extend this with their own attributes.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 18 Mar 2015 10:39:10 +0000 (10:39 +0000)]
mds: add SimpleLock::dump
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 17 Mar 2015 18:36:13 +0000 (18:36 +0000)]
mds: add a dump() method to MutationImpl
This is just an externally callable wrapper
to _dump that doesn't require caller
to pass in a time.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 17 Mar 2015 17:47:50 +0000 (17:47 +0000)]
include/frag: add a dump() method to fragtree_t
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 26 Feb 2015 14:47:02 +0000 (14:47 +0000)]
mds: move auth_pins attrs into MDSCacheObject
These were common between CInode, CDir, CDentry.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Thu, 19 Mar 2015 20:05:01 +0000 (13:05 -0700)]
Merge branch 'master' of github.com:ceph/ceph
Sage Weil [Thu, 19 Mar 2015 19:41:04 +0000 (12:41 -0700)]
Merge remote-tracking branch 'gh/hammer'
Conflicts:
PendingReleaseNotes
src/Makefile.am
src/gmock
src/test/Makefile.am
Josh Durgin [Thu, 19 Mar 2015 18:47:55 +0000 (11:47 -0700)]
Merge pull request #4035 from ceph/wip-11113
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 19 Mar 2015 18:31:31 +0000 (11:31 -0700)]
Merge pull request #3988 from ceph/wip-refine-build-configuration-hammer
Refine build configuration for hammer
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Thu, 19 Mar 2015 16:57:30 +0000 (09:57 -0700)]
Merge pull request #4104 from rzarzynski/wip-11148
rgw: rectify 202 Accepted in response for PUT on already existing bucket
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Samuel Just [Thu, 19 Mar 2015 16:41:58 +0000 (09:41 -0700)]
Merge pull request #4105 from athanatos/wip-11110
Wip 11110
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Thu, 19 Mar 2015 03:55:24 +0000 (20:55 -0700)]
init-radosgw*: don't require rgw_socket_path to be defined
Fixes: #11159
Backport: hammer, firefly
Scripts required rgw_socket_path to exist in order to start radosgw.
This is not needed.
Reported-by: Dan Mick <dmick@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit
6823bcdcd0ce72cd223e809291f46d82da76115c )
Sage Weil [Thu, 19 Mar 2015 16:12:17 +0000 (09:12 -0700)]
Merge pull request #4087 from ceph/wip-11159
init-radosgw*: don't require rgw_socket_path to be defined
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Thu, 19 Mar 2015 15:52:53 +0000 (08:52 -0700)]
Merge pull request #4064 from dachary/wip-10488-jerasure-idempotent
mon: informative message when erasure-code-profile set fails
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Thu, 19 Mar 2015 15:52:45 +0000 (08:52 -0700)]
Merge pull request #4066 from dachary/wip-11144-erasure-code-profile-rm
osd: erasure-code-profile incremental rm before set
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Wed, 18 Mar 2015 19:11:07 +0000 (12:11 -0700)]
PG: ensure that info.last_epoch_started only increases
See doc/dev/osd_internals/last_epoch_started.rst
Fixes: #11110
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 18 Mar 2015 19:02:04 +0000 (12:02 -0700)]
doc: add last_epoch_started.rst
Signed-off-by: Samuel Just <sjust@redhat.com>
Yehuda Sadeh [Thu, 19 Mar 2015 14:41:10 +0000 (07:41 -0700)]
Merge pull request #4054 from diurchenko/wip-10662
rgw: Swift API. Allows setting attributes with COPY object operation.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Radoslaw Zarzynski [Thu, 19 Mar 2015 13:52:18 +0000 (14:52 +0100)]
rgw: rectify 202 Accepted in response for PUT on existing bucket.
Fixes: #11148
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
John Spray [Thu, 19 Mar 2015 13:15:24 +0000 (13:15 +0000)]
mds: fix error_str formatting in scrub output
operator<< on an ostringstream actually gets
you an address.
Signed-off-by: John Spray <john.spray@redhat.com>
Loic Dachary [Thu, 19 Mar 2015 10:16:43 +0000 (11:16 +0100)]
Merge pull request #4025 from ceph/wip-fix-configure-noversion
configure.ac: add --disable-gitversion
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Danny Al-Gaaf [Thu, 12 Mar 2015 21:17:09 +0000 (22:17 +0100)]
configure.ac: add --disable-gitversion
During development each git commit cause currently a complete
rebuild of the source tree. By passing --disable-gitversion to
configure we set a generic version string for ceph to prevent
getting after each commit a new version set.
remove src/check_version and replace with a extended version
of src/make_version which allows detecting changes in .git_version
and ceph_ver.h to avoid not needed updates.
This change also forces to call make_version each time to make
sure that changes from configure or the NO_VERSION env variable
are processed.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Yehuda Sadeh [Thu, 19 Mar 2015 03:55:24 +0000 (20:55 -0700)]
init-radosgw*: don't require rgw_socket_path to be defined
Fixes: #11159
Backport: hammer, firefly
Scripts required rgw_socket_path to exist in order to start radosgw.
This is not needed.
Reported-by: Dan Mick <dmick@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 19 Mar 2015 03:49:13 +0000 (20:49 -0700)]
rgw: don't use rgw_socket_path if frontend is configured
Fixes: #11160
Backport: hammer, firefly
Previously if we wanted to use the tcp fcgi socket, we needed to clear
rgw_socket_path.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Gregory Farnum [Wed, 18 Mar 2015 21:31:51 +0000 (14:31 -0700)]
Merge pull request #3951 from ceph/wip-cephfs-snaps
Wip cephfs snaps
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Josh Durgin [Wed, 18 Mar 2015 20:53:07 +0000 (13:53 -0700)]
Merge pull request #4072 from javierguerragiraldez/master
rados.py: fix Object.write() method
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Javier Guerra [Wed, 18 Mar 2015 19:46:13 +0000 (14:46 -0500)]
rados.py: fix Object.write() method
the file position should advance by the number of bytes written,
but the ioctx.write() function returns 0 on success
Signed-off-by: Javier Guerra <javier@guerrag.com>
Sage Weil [Wed, 18 Mar 2015 20:18:18 +0000 (13:18 -0700)]
Merge pull request #3898 from jdurgin/wip-rbd-merge-diff
qa: make rbd-fuse exit cleanly with lttng
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 18 Mar 2015 20:16:53 +0000 (13:16 -0700)]
Merge pull request #4071 from athanatos/wip-10718
Wip 10718
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Wed, 18 Mar 2015 19:18:16 +0000 (12:18 -0700)]
Merge pull request #4016 from ceph/wip-11123
osd: fix whiteout handling for delete+create compound ops
Reviewed-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 18 Mar 2015 18:19:09 +0000 (11:19 -0700)]
PG: make sure to update history.last_epoch_started with first write
Otherwise, we might remember the write, but not that the activation
interval was history.last_epoch_started.
Signed-off-by: Samuel Just <sjust@redhat.com>
Haomai Wang [Wed, 18 Mar 2015 16:44:48 +0000 (00:44 +0800)]
Merge pull request #4067 from ceph/wip-rbd-warning
tests: remove unused variable
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Josh Durgin [Wed, 18 Mar 2015 16:06:38 +0000 (09:06 -0700)]
tests: remove unused variable
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Loic Dachary [Wed, 18 Mar 2015 13:17:00 +0000 (14:17 +0100)]
osd: erasure-code-profile incremental rm before set
It is possible for an incremental change to have both a rm and a set for
a given erasure code profile. It only happens when a rm is followed by a
set. When a set is followed by a rm, the rm will remove the pending set
in the incremental change.
The logic is the same for pool create and pool delete.
We must apply the incremental erasure-code-profile removal before the
creation otherwise rm and set in the same proposal will ignore the set.
This fix is minimal. A better change would be that erasure-code-profile
set checks if there is a pending removal and wait_for_finished_proposal
before creating.
http://tracker.ceph.com/issues/11144 Fixes: #11144
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Wed, 18 Mar 2015 10:40:36 +0000 (11:40 +0100)]
mon: informative message when erasure-code-profile set fails
When erasure-code-profile set refuses to override an existing profile,
it may be non trivial to figure out why. For instance:
ceph osd set default ruleset-failure-domain=host
fails with:
Error EPERM: will not override erasure code profile default
although ruleset-failure-domain=host is documented to be the
default. The error message now includes the two profiles that have been
compared to not be equal so that the user can verify the difference.
Error EPERM: will not override erasure code profile default
because the existing profile
{directory=.libs,k=2,m=1,plugin=jerasure,technique=reed_sol_van}
is different from the proposed profile
{directory=.libs,k=2,m=1,plugin=jerasure,ruleset-failure-domain=host,technique=reed_sol_van}
http://tracker.ceph.com/issues/10488 Fixes: #10488
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Yan, Zheng [Tue, 17 Mar 2015 12:31:14 +0000 (20:31 +0800)]
mds: skip inode that is being puring when opening snap past parent
we can not increase reference count of purging inodes. purging
inodes have no snapshots, so it's OK to skip them.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Mon, 16 Mar 2015 10:44:49 +0000 (18:44 +0800)]
mds: don't crash MDS when snapshot data not found
When remote dentry and inode are in different snapshot realms.
The inode may not contain snapshot data for snapshot of the remote
dentry.
This issue are difficult to fix. This patch MDS print an error
instead of triggering assersion.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Sat, 14 Mar 2015 01:21:01 +0000 (09:21 +0800)]
mds: pick head inode when caps follows is zero
"caps follows is zero" means client does not flush anything, so
we shoud pick the head object
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Tue, 10 Mar 2015 11:13:30 +0000 (19:13 +0800)]
mds: fix purging snapshotted stray inode
If stray inode has no snapshot data, it's OK to purge it even if
it's still referenced by some snapsthots. This is because seperate
snap inodes were created for snapshots.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Tue, 10 Mar 2015 04:01:32 +0000 (12:01 +0800)]
mds: check snapset in journal_cow_dentry()
Removing snapshot also increases snaprealm's sequence number.
So only using snaprealm's sequence number to decide if we should
COW dentry is too loose. This patch makes journal_cow_dentry()
also check snaprealm's snapset.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 18 Mar 2015 06:12:50 +0000 (14:12 +0800)]
mds: fix fnode.snap_purged_thru check
We do not alway succeed in purging all stale snap dentries
(stale snap dentris can be in-use or have been trimmed from
cache). Updating fnode.snap_purged_thru prematurely will make
us not purge the remainning stale snap dentries. If CDir
has no cached snap dentry when fetching dirfrag, we can
guaranee that all stale snap dentries will be purged.
So we only update fnode.snap_purged_thru in this case.
Now the code that purges stale snap dentries is executed more
frequently. So this patch also make readdir not purge stale
snap dentries
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Tue, 10 Mar 2015 03:58:31 +0000 (11:58 +0800)]
mds: purge stale snap data in CInode with snaprealm
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Tue, 10 Mar 2015 03:39:25 +0000 (11:39 +0800)]
mds: fix purging stale snapshot dentries
When fetching dirfrag, record stale snap dentries in CDir. So that
CDir::_omap_commit can remove these stale dentires from OMAP.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Josh Durgin [Wed, 18 Mar 2015 03:42:18 +0000 (20:42 -0700)]
Merge pull request #3904 from yuyuyu101/wip-librbd-metadata
Wip librbd metadata
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 18 Mar 2015 02:53:54 +0000 (19:53 -0700)]
Merge pull request #4013 from ceph/wip-5488
librbd: fix deadlock on image refresh
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Haomai Wang [Tue, 17 Mar 2015 15:41:05 +0000 (23:41 +0800)]
Librbd: Add "start" and "max" arguments to metadata_list
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Ken Dreyer [Wed, 18 Mar 2015 02:51:22 +0000 (20:51 -0600)]
Merge pull request #3953 from wuxingyi/patch-2
rgw/logrotate.conf: Rename service name
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
wuxingyi [Wed, 11 Mar 2015 09:34:40 +0000 (17:34 +0800)]
rgw/logrotate.conf: Rename service name
The service name for ceph rados gateway was changed to "ceph-radosgw",
the previous version of service name "radosgw" would cause a failed reload,
and finally make it impossible to write any log data to the log file.
Signed-off-by: wuxingyi <wuxingyi2015@outlook.com>
Sage Weil [Tue, 17 Mar 2015 23:34:25 +0000 (16:34 -0700)]
Merge pull request #4057 from ceph/wip-rgw-bootstrap
mon: add bootstrap-rgw profile
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Tue, 17 Mar 2015 23:24:33 +0000 (16:24 -0700)]
Merge pull request #4055 from vuhuong/wip-xio
XIO fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 17 Mar 2015 19:24:52 +0000 (12:24 -0700)]
ceph-create-keys: create bootstrap-rgw key
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 Mar 2015 00:47:59 +0000 (16:47 -0800)]
mon: add 'bootstrap-rgw' profile
This profile is allowed to create client.rgw.* librados users. They have
access to any pool, which is pretty coarse.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 17 Mar 2015 23:14:15 +0000 (16:14 -0700)]
doc/release-notes: v0.67.11 draft notes
Signed-off-by: Sage Weil <sage@redhat.com>
Boris Ranto [Mon, 16 Mar 2015 13:45:16 +0000 (14:45 +0100)]
Compile test_build_librgw only if WITH_BUILD_TESTS
Loic Dachary [Tue, 17 Mar 2015 17:56:55 +0000 (18:56 +0100)]
Merge pull request #4045 from NTmatter/docs-raid4-removal
doc-rados-operations-crush-map: Swap Raid4 for Erasure
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Tue, 17 Mar 2015 17:57:13 +0000 (10:57 -0700)]
Merge remote-tracking branch 'gh/hammer'
Conflicts:
src/gmock
src/msg/xio/XioPortal.h
Samuel Just [Tue, 17 Mar 2015 17:28:56 +0000 (10:28 -0700)]
Merge pull request #3910 from athanatos/wip-11027
Wip 11027
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Tue, 17 Mar 2015 17:28:19 +0000 (10:28 -0700)]
Merge pull request #3918 from tchaikov/hammer-fix-leaks-in-C_TwoContexts
osdc: fix a memory leak in C_TwoContexts
Reviewed-by: Samuel Just <sjust@redhat.com>