Commit Graph

25455 Commits

Author SHA1 Message Date
John Wilkins
cd2cabecf1 doc: Trimmed toc depth for nicer visual appearance.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-18 14:23:47 -07:00
John Wilkins
44aa696b44 doc: Added new PG troubleshooting use case.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-18 14:08:43 -07:00
John Wilkins
2e3579edd4 doc: Updated title.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-18 14:08:10 -07:00
John Wilkins
304a2343a7 doc: Added PG troubleshooting to toctree.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-18 14:07:56 -07:00
John Wilkins
d5139ba1ff doc: Bifurcating OSD and PG Troubleshooting. Updated hyperlink.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-18 13:30:50 -07:00
John Wilkins
3b8057ac93 doc: Bifurcating OSD and PG Troubleshooting. Added PG troubleshooting doc.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-18 13:30:05 -07:00
John Wilkins
3c4bf83cf8 doc: Bifurcating OSD and PG Troubleshooting. Removed PG section.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-18 13:29:16 -07:00
caleb miles
5f1898d9c9 rgw_bucket: Fix dump_index_check.
Signed-off-by caleb miles <caleb.miles@inktank.com>
2013-04-18 14:09:17 -04:00
Greg Farnum
efbe2e8b55 Merge branch 'wip-max_size-3637' into next
Reviewed-by: Sage Weil <sage@inktank.com>
2013-04-18 10:39:03 -07:00
Kuan Kai Chiu
87634d882f mds: journal the projected root xattrs in add_root()
In EMetaBlob::add_root(), we should log the projected root xattrs
instead of original ones to reflect xattr changes.

Signed-off-by: Kuan Kai Chiu <big.chiu@bigtera.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-04-18 10:38:21 -07:00
Kuan Kai Chiu
f379ce37bf mds: fix setting/removing xattrs on root
MDS crashes while journaling dirty root inode in handle_client_setxattr
and handle_client_removexattr. We should use journal_dirty_inode to
safely log root inode here.

Signed-off-by: Kuan Kai Chiu <big.chiu@bigtera.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-04-18 10:38:05 -07:00
Gary Lowell
7e4f80b12e debian/control: Fix typo in libboost version number
Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-04-18 10:41:38 -07:00
Gary Lowell
f4bc760776 build: Add new package dependencies
Add libboost-system-dev (bug #4725).

Add hdparm to rpm installation requirements.  The hdparm
command is used to determin if write-caching is enabled on
the journal device.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-04-18 10:41:20 -07:00
John Wilkins
a0e457ae18 doc: Removed legacy man page index. Generates warning otherwise.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:34:54 -07:00
John Wilkins
d67793c253 doc: Clarified that admin-socket is accessed from same host.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:34:27 -07:00
John Wilkins
da7bf677b4 doc: Updated hyperlinks to new tshooting section.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:33:28 -07:00
John Wilkins
fb4cba4bd5 doc: Removed this doc. Nothing referenced it, and parent directory echoes content.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:32:59 -07:00
John Wilkins
f7843174c0 doc: Revised top-level ops page.
Consolidated authentication into high-level operations. Added a
troubleshooting section. Collapsed toc trees to make the appearance
cleaner.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:32:10 -07:00
John Wilkins
6cf36827ac doc: Removed link to nowhere. Otherwise generates a warning.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:30:31 -07:00
John Wilkins
064ec2fbc5 doc: Removed top-level tshoot page, and created new index.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:29:41 -07:00
John Wilkins
0d1e04722a doc: Excised community from OSD tshoot, made it stand alone.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:28:50 -07:00
John Wilkins
23e3fbee3d doc: Moved monitor troubleshooting to troubleshooting section.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:28:16 -07:00
John Wilkins
594580c900 doc: Moved troubleshooting OSD to troubleshooting section.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:27:40 -07:00
John Wilkins
78758007da doc: Added extraneous rgw settings to rgw conf.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:26:33 -07:00
John Wilkins
4e6709bf93 doc: Moved memory profiling from operations to troubleshooting.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:25:51 -07:00
John Wilkins
9e9bd2d8b1 doc: Moved CPU profiling from operations to troubleshooting.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:25:06 -07:00
John Wilkins
f0e3548a41 doc: Set toc depth to 1 level, and added troubleshooting so it appears in sidebar.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:24:24 -07:00
John Wilkins
dd7fd2dd61 doc: Moved journal discussion to OSD ref from Ceph config.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:23:46 -07:00
John Wilkins
9ddc8b90ba doc: Reordered deployment tools in toc.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:22:18 -07:00
John Wilkins
fd8b4d0a9c doc: Removed logging from config index. Set depth to 1 for clean appearance.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:21:35 -07:00
John Wilkins
cd4b242d26 doc: Removed logging. Added references. Reorganized and edited.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:20:51 -07:00
John Wilkins
22a5cb66f3 doc: Removed. Not in toc, and otherwise generates a warning.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:19:34 -07:00
John Wilkins
84b0ec2812 doc: Updated hyperlink.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:18:46 -07:00
John Wilkins
808ad25a28 doc: Removed fragmented logging info. Consolidated into one doc.
Logging was variously described in the ceph configuration document,
a configuration reference, and a section in operations. Since
logging and debugging are generally used with troubleshooting,
I consolidated the docs and placed them in the troubleshooting
section. Also fixed the example and provided additional detail.

fixes: #3804

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-04-17 18:18:10 -07:00
Wido den Hollander
3c144e9b6c rbd: Only allow shrinking an image when --allow-shrink flag is passed
Signed-off-by: Wido den Hollander <wido@widodh.nl>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-17 15:42:34 -07:00
Greg Farnum
7b408ece37 client: disable invalidate callbacks :(
See #4746; it deadlocks right now.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-04-17 15:41:19 -07:00
Josh Durgin
90a3bb7ae3 Merge pull request #219 from ceph/wip-rbd-progress
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-17 15:37:11 -07:00
Sage Weil
db37bd8e73 rbd: add --no-progress switch
Disable progress output to stderr.t

Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-17 15:31:36 -07:00
Greg Farnum
8f21beb23c leveldbstore: handle old versions of leveldb
The filter_policy (bloom filter) stuff is fairly new in LevelDB's life,
and it turns out that precise's version is too old for it. Add conditional
compilation for those members in order to build and work properly.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-04-17 15:14:35 -07:00
Sage Weil
4bf2448210 Merge remote-tracking branch 'gh/wip-4521-fix' into next
Reviewed-by: Sage Weil <sage@inktank.com>
2013-04-17 15:03:03 -07:00
Yan, Zheng
085b3ec444 mds: change XLOCK/XLOCKDONE's next state to LOCK
For simplelock and filelock, XLOCK/XLOCKDONE's next state is SYNC.
But filelock in XLOCK/XLOCKDONE state allow Fb caps, filelock in
SYNC state does not. So filelock can be stuck in XLOCK/XLOCKDONE
state forever if there are Fb caps issued.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-04-17 14:39:22 -07:00
Yan, Zheng
efe7399749 mds: pass proper mask to CInode::get_caps_issued
There is a total of 22 cap bits and file lock uses 8 cap bits.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-04-17 14:39:22 -07:00
Joao Eduardo Luis
f25f922b9e mon: Monitor: convert osdmap_full as well
Store conversion wasn't converting the osdmap_full/ versions, only the
incrementals under osdmap/ and the latest full version stashed.  This
would lead to some serious problems during OSDMonitor's update_from_paxos
when the latest stashed didn't correspond to the first available
incremental.

Fixes: #4521

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-04-17 22:17:51 +01:00
Joao Eduardo Luis
1260041777 mon: PaxosService: add helper function to check if a given version exists
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-04-17 22:17:47 +01:00
Danny Al-Gaaf
246b8118a8 osd/PG.cc: initialize PG::flushed in constructor
Initialize PG::flushed in constructor with false as
described in doc/dev/osd_internals/pg.rst .

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit fb840c8ff7)
2013-04-17 13:31:38 -07:00
Sage Weil
f8183c91e5 Merge pull request #215 from ceph/wip-leveldb-config
os: bring leveldbstore options up to date

Reviewed-by: Sage Weil <sage@inktank.com>
2013-04-17 09:49:11 -07:00
caleb miles
a993d2565f Fix policy handling for RESTful admin api.
Signed-off-by caleb miles <caleb.miles@inktank.com>
2013-04-17 11:42:47 -04:00
Sage Weil
544eb9bda2 qa: pull qemu-iotests from ceph.com mirror
Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-16 16:40:14 -07:00
Sage Weil
4865fb73c6 Merge pull request #214 from ceph/wip-objectcacher-handler-ordered
keep write responses to clones in order

Reviewed-by: Sage Weil <sage@inktank.com>
2013-04-16 15:48:15 -07:00
Sage Weil
899456617f librbd: flush on diff_iterate
The diff_iterate() tests fail when caching is enabled because recent writes
aren't visible to listsnaps.  Flush from diff_iterate to ensure that they
are.  Someday, maybe, we might make diff_iterate() inspect the cache
contents to make this more efficient, but for now that is not necessary.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-16 15:46:32 -07:00