]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agorgw: fix build errors on i386
Sage Weil [Tue, 6 Oct 2009 17:30:26 +0000 (10:30 -0700)]
rgw: fix build errors on i386

15 years agoMakefile: include buffer.c in tarball, kclient package
Sage Weil [Tue, 6 Oct 2009 17:26:06 +0000 (10:26 -0700)]
Makefile: include buffer.c in tarball, kclient package

15 years agorgw: encode time_t, size_t using fixed-size types
Sage Weil [Tue, 6 Oct 2009 17:05:57 +0000 (10:05 -0700)]
rgw: encode time_t, size_t using fixed-size types

15 years agotest_ioctls: add missing open arg
Sage Weil [Tue, 6 Oct 2009 16:48:12 +0000 (09:48 -0700)]
test_ioctls: add missing open arg

15 years agokclient: include fs/{Kconfig,Makefile} in patchset
Sage Weil [Mon, 5 Oct 2009 23:46:32 +0000 (16:46 -0700)]
kclient: include fs/{Kconfig,Makefile} in patchset

15 years agomds: Don't perform proper rebalancing if set to thrash
Greg Farnum [Mon, 5 Oct 2009 20:29:53 +0000 (13:29 -0700)]
mds: Don't perform proper rebalancing if set to thrash

15 years agomds: rename do_rebalance to prep_rebalance
Greg Farnum [Mon, 5 Oct 2009 17:51:44 +0000 (10:51 -0700)]
mds: rename do_rebalance to prep_rebalance

15 years agouclient: Only connect to offload targets if the mds goes down.
Greg Farnum [Mon, 5 Oct 2009 06:32:11 +0000 (23:32 -0700)]
uclient: Only connect to offload targets if the mds goes down.

15 years agokclient: checkpatch cleanups
Sage Weil [Mon, 5 Oct 2009 22:06:50 +0000 (15:06 -0700)]
kclient: checkpatch cleanups

15 years agomds: fix default layout settings
Sage Weil [Mon, 5 Oct 2009 22:04:17 +0000 (15:04 -0700)]
mds: fix default layout settings

15 years agov0.16 v0.16
Sage Weil [Mon, 5 Oct 2009 21:53:35 +0000 (14:53 -0700)]
v0.16

15 years agouclient: fix null deref in unlink() on null dn
Sage Weil [Fri, 2 Oct 2009 22:29:31 +0000 (15:29 -0700)]
uclient: fix null deref in unlink() on null dn

15 years agotodo
Sage Weil [Fri, 2 Oct 2009 21:27:48 +0000 (14:27 -0700)]
todo

15 years agomon: fix offload_targets
Sage Weil [Fri, 2 Oct 2009 22:16:25 +0000 (15:16 -0700)]
mon: fix offload_targets

15 years agouclient: Put some guards up around the Inode->cap map accesses
Greg Farnum [Fri, 2 Oct 2009 21:26:08 +0000 (14:26 -0700)]
uclient: Put some guards up around the Inode->cap map accesses

15 years agomsg: handle MMDSLoadTargets
Greg Farnum [Thu, 1 Oct 2009 22:56:56 +0000 (15:56 -0700)]
msg: handle MMDSLoadTargets

15 years agomon: Handle MMDSLoadTarget messages
Greg Farnum [Thu, 1 Oct 2009 21:30:36 +0000 (14:30 -0700)]
mon: Handle MMDSLoadTarget messages

15 years agomds/message: MMDSLoadTargets should use a set<int32_t> not a map
Greg Farnum [Thu, 1 Oct 2009 21:30:09 +0000 (14:30 -0700)]
mds/message: MMDSLoadTargets should use a set<int32_t> not a map

15 years agomds: Pull my_target checking out into a function targets_safe
Greg Farnum [Thu, 1 Oct 2009 20:51:22 +0000 (13:51 -0700)]
mds: Pull my_target checking out into a function targets_safe

15 years agomds: Don't do rebalancing until the target mds' are in the MDSMap.
Greg Farnum [Thu, 1 Oct 2009 20:30:00 +0000 (13:30 -0700)]
mds: Don't do rebalancing until the target mds' are in the MDSMap.
This will break rebalancing until the monitor code to
add targets is in place.

15 years agomessages: Add a completely useless and unused MMDSOffloadComplete message.
Greg Farnum [Thu, 1 Oct 2009 20:28:02 +0000 (13:28 -0700)]
messages: Add a completely useless and unused MMDSOffloadComplete message.

15 years agomon: Put in placeholder code to handle MDS target messages
Greg Farnum [Thu, 1 Oct 2009 18:34:56 +0000 (11:34 -0700)]
mon: Put in placeholder code to handle MDS target messages

15 years agomds: Break apart rebalance function into prepwork and offload
Greg Farnum [Thu, 1 Oct 2009 00:00:58 +0000 (17:00 -0700)]
mds: Break apart rebalance function into prepwork and offload

15 years agomessages: Add an MMDSLoadTargets message for mds->monitor info.
Greg Farnum [Tue, 29 Sep 2009 23:37:28 +0000 (16:37 -0700)]
messages: Add an MMDSLoadTargets message for mds->monitor info.

15 years agoMessage: add constants for MDS offload messages, and clean up the alignment
Greg Farnum [Tue, 29 Sep 2009 23:16:46 +0000 (16:16 -0700)]
Message: add constants for MDS offload messages, and clean up the alignment

15 years agoCheck for invalid layout input in uclient and MDS, replace with sane if needed
Greg Farnum [Wed, 30 Sep 2009 18:23:19 +0000 (11:23 -0700)]
Check for invalid layout input in uclient and MDS, replace with sane if needed

15 years agolibceph: Actually implement ceph_get_local_osd so that libhadoop works!
Greg Farnum [Wed, 30 Sep 2009 16:55:18 +0000 (09:55 -0700)]
libceph: Actually implement ceph_get_local_osd so that libhadoop works!

15 years agokclient: add missing include for in[46]_pton
Sage Weil [Fri, 2 Oct 2009 20:59:07 +0000 (13:59 -0700)]
kclient: add missing include for in[46]_pton

15 years agomsgr: use getnameinfo to format socket addresses
Sage Weil [Fri, 2 Oct 2009 20:43:59 +0000 (13:43 -0700)]
msgr: use getnameinfo to format socket addresses

15 years agouse sockaddr_storage; and some ipv6 support groundwork
Sage Weil [Fri, 2 Oct 2009 20:39:17 +0000 (13:39 -0700)]
use sockaddr_storage; and some ipv6 support groundwork

15 years agokclient: don't choke on missing snaprealm
Sage Weil [Fri, 2 Oct 2009 17:27:30 +0000 (10:27 -0700)]
kclient: don't choke on missing snaprealm

15 years agokclient: no system.* xattrs, yet
Sage Weil [Thu, 1 Oct 2009 22:43:28 +0000 (15:43 -0700)]
kclient: no system.* xattrs, yet

15 years agokclient: kill generic_*xattr calls until we implement xattr_handler
Sage Weil [Thu, 1 Oct 2009 22:38:42 +0000 (15:38 -0700)]
kclient: kill generic_*xattr calls until we implement xattr_handler

15 years agokclient: clean up module startup
Sage Weil [Thu, 1 Oct 2009 22:34:01 +0000 (15:34 -0700)]
kclient: clean up module startup

15 years agoMerge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable
Sage Weil [Thu, 1 Oct 2009 21:25:10 +0000 (14:25 -0700)]
Merge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable

15 years agokclient: fix ra_pages setup after bdi initiation
Sage Weil [Thu, 1 Oct 2009 21:19:49 +0000 (14:19 -0700)]
kclient: fix ra_pages setup after bdi initiation

15 years agokclient: single thread wq for invalidate, truncate
Sage Weil [Thu, 1 Oct 2009 21:16:01 +0000 (14:16 -0700)]
kclient: single thread wq for invalidate, truncate

Keep multiple threads for the writeback.

15 years agokclient: use KMEM_CACHE macro where possible
Sage Weil [Thu, 1 Oct 2009 21:12:45 +0000 (14:12 -0700)]
kclient: use KMEM_CACHE macro where possible

We can't for the inode cache bc we have a init_once method.

15 years agokclient: mark initialization functions __init
Sage Weil [Thu, 1 Oct 2009 20:58:00 +0000 (13:58 -0700)]
kclient: mark initialization functions __init

15 years agokclient: fix maintainers record
Sage Weil [Thu, 1 Oct 2009 20:45:21 +0000 (13:45 -0700)]
kclient: fix maintainers record

15 years agokclient: backport sync_page_range change
Sage Weil [Thu, 1 Oct 2009 20:30:47 +0000 (13:30 -0700)]
kclient: backport sync_page_range change

15 years agotodo
Sage Weil [Thu, 1 Oct 2009 20:28:30 +0000 (13:28 -0700)]
todo

15 years agokclient: add to MAINTAINERS
Sage Weil [Thu, 1 Oct 2009 20:16:28 +0000 (13:16 -0700)]
kclient: add to MAINTAINERS

15 years agokclient: sync_page_range gone in 2.6.32; use vfs_fsync_range
Sage Weil [Thu, 1 Oct 2009 20:11:45 +0000 (13:11 -0700)]
kclient: sync_page_range gone in 2.6.32; use vfs_fsync_range

This is what generic_write_sync does, but we also want to do the
sync if we are NEARFULL.

15 years agokclient: current_is_pdflush() gone in 2.6.32
Sage Weil [Thu, 1 Oct 2009 20:05:36 +0000 (13:05 -0700)]
kclient: current_is_pdflush() gone in 2.6.32

15 years agotodo
Sage Weil [Thu, 1 Oct 2009 19:57:39 +0000 (12:57 -0700)]
todo

15 years agoRevert "kclient: add smp_mb to sensitive bitops in msgr"
Sage Weil [Thu, 1 Oct 2009 19:57:17 +0000 (12:57 -0700)]
Revert "kclient: add smp_mb to sensitive bitops in msgr"

Don't think these are needed after all...

This reverts commit fe11285c4b00fb9148251cfaaf28aa71a70b31c8.

15 years agokclient: use smp_mb in place of spinlock for testing flag bit
Sage Weil [Thu, 1 Oct 2009 18:21:54 +0000 (11:21 -0700)]
kclient: use smp_mb in place of spinlock for testing flag bit

15 years agokclient: add smp_mb to sensitive bitops in msgr
Sage Weil [Thu, 1 Oct 2009 18:07:09 +0000 (11:07 -0700)]
kclient: add smp_mb to sensitive bitops in msgr

15 years agouclient: set new file layout to 0, which lets mds choose its default
Sage Weil [Thu, 1 Oct 2009 17:59:10 +0000 (10:59 -0700)]
uclient: set new file layout to 0, which lets mds choose its default

15 years agouclient: Use much saner/not insane defaults for layout settings
Greg Farnum [Wed, 30 Sep 2009 17:58:49 +0000 (10:58 -0700)]
uclient: Use much saner/not insane defaults for layout settings

15 years agokclient: debugfs fix; better osdmap debug output
Sage Weil [Wed, 30 Sep 2009 21:10:46 +0000 (14:10 -0700)]
kclient: debugfs fix; better osdmap debug output

15 years agokclient: default pg_preferred to -1
Sage Weil [Wed, 30 Sep 2009 21:10:23 +0000 (14:10 -0700)]
kclient: default pg_preferred to -1

15 years agomds: fix layout typo
Sage Weil [Wed, 30 Sep 2009 20:30:07 +0000 (13:30 -0700)]
mds: fix layout typo

15 years agokclient: include new files in patch set
Sage Weil [Wed, 30 Sep 2009 19:53:49 +0000 (12:53 -0700)]
kclient: include new files in patch set

15 years agoosd: name args in ceph_osd_op union
Sage Weil [Wed, 30 Sep 2009 19:47:40 +0000 (12:47 -0700)]
osd: name args in ceph_osd_op union

15 years agodocument data structs; kill ttl_ms in caps msg
Sage Weil [Wed, 30 Sep 2009 19:34:30 +0000 (12:34 -0700)]
document data structs; kill ttl_ms in caps msg

15 years agomds: kill old rdcaps_ttl business
Sage Weil [Wed, 30 Sep 2009 19:24:31 +0000 (12:24 -0700)]
mds: kill old rdcaps_ttl business

This was from when caps independently timed out.

15 years agofix object_stripe_unit -> stripe_unit
Sage Weil [Wed, 30 Sep 2009 19:09:11 +0000 (12:09 -0700)]
fix object_stripe_unit -> stripe_unit

15 years agokclient: try kmalloc, then vmalloc
Sage Weil [Wed, 30 Sep 2009 18:43:31 +0000 (11:43 -0700)]
kclient: try kmalloc, then vmalloc

"A still-lame-but-less-lame option here would be to attempt the kmalloc
(with __GFP_NOWARN) and if it failed, fall back to vmalloc." says akpm

15 years agokclient: audit inline
Sage Weil [Wed, 30 Sep 2009 18:32:03 +0000 (11:32 -0700)]
kclient: audit inline

15 years agokclient: more fixes from akpm's review
Sage Weil [Wed, 30 Sep 2009 18:01:37 +0000 (11:01 -0700)]
kclient: more fixes from akpm's review

15 years agouninline some header types
Sage Weil [Wed, 30 Sep 2009 17:24:28 +0000 (10:24 -0700)]
uninline some header types

15 years agokclient: parse updated mdsmap
Sage Weil [Tue, 29 Sep 2009 21:53:07 +0000 (14:53 -0700)]
kclient: parse updated mdsmap

15 years agomdsmap: another unsized int
Sage Weil [Tue, 29 Sep 2009 21:51:43 +0000 (14:51 -0700)]
mdsmap: another unsized int

15 years agomdsmap: use sized int type
Sage Weil [Tue, 29 Sep 2009 21:38:10 +0000 (14:38 -0700)]
mdsmap: use sized int type

15 years agotodo
Sage Weil [Tue, 29 Sep 2009 20:29:07 +0000 (13:29 -0700)]
todo

15 years agokclient: reorder cap ops a bit (wrt invalidation)
Sage Weil [Fri, 25 Sep 2009 23:04:13 +0000 (16:04 -0700)]
kclient: reorder cap ops a bit (wrt invalidation)

15 years agoHadoop: Set the local osd to be the preferred osd for all writes.
Greg Farnum [Mon, 28 Sep 2009 23:54:58 +0000 (16:54 -0700)]
Hadoop: Set the local osd to be the preferred osd for all writes.

15 years agouclient: Add methods for setting a default preferred osd.
Greg Farnum [Tue, 29 Sep 2009 19:16:55 +0000 (12:16 -0700)]
uclient: Add methods for setting a default preferred osd.

15 years agomds/ceph_fs: Add a preferred argument to ceph_mds_request_args and listen to it
Greg Farnum [Tue, 29 Sep 2009 19:08:52 +0000 (12:08 -0700)]
mds/ceph_fs: Add a preferred argument to ceph_mds_request_args and listen to it

15 years agomon: create lpg_num (not pg_num) lpg's
Sage Weil [Tue, 29 Sep 2009 18:07:37 +0000 (11:07 -0700)]
mon: create lpg_num (not pg_num) lpg's

15 years agocosd: 3 monitors
Sage Weil [Mon, 28 Sep 2009 22:28:16 +0000 (15:28 -0700)]
cosd: 3 monitors

15 years agouclient: open mds sessions to export targets
Sage Weil [Tue, 29 Sep 2009 16:49:35 +0000 (09:49 -0700)]
uclient: open mds sessions to export targets

15 years agomds: add export targest to mds_info_t
Sage Weil [Tue, 29 Sep 2009 04:16:02 +0000 (21:16 -0700)]
mds: add export targest to mds_info_t

15 years agoosd: rev disk format
Sage Weil [Mon, 28 Sep 2009 22:23:56 +0000 (15:23 -0700)]
osd: rev disk format

15 years agomon: create localized pgs
Sage Weil [Mon, 28 Sep 2009 22:23:01 +0000 (15:23 -0700)]
mon: create localized pgs

15 years agofilestore: make collection dir have better name; move coll_t type around
Sage Weil [Mon, 28 Sep 2009 22:22:42 +0000 (15:22 -0700)]
filestore: make collection dir have better name; move coll_t type around

15 years agoobjecter: send renew sub from maybe_request_map()
Sage Weil [Mon, 28 Sep 2009 22:21:23 +0000 (15:21 -0700)]
objecter: send renew sub from maybe_request_map()

This broke with the last monc api change

15 years agoosd: make pg_pool_t print clearer
Sage Weil [Mon, 28 Sep 2009 21:11:47 +0000 (14:11 -0700)]
osd: make pg_pool_t print clearer

15 years agoMerge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable
Greg Farnum [Mon, 28 Sep 2009 20:55:03 +0000 (13:55 -0700)]
Merge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable

15 years agouclient: Return EFBIG rather than EBADF on too-large file sizes.
Greg Farnum [Mon, 28 Sep 2009 20:54:55 +0000 (13:54 -0700)]
uclient: Return EFBIG rather than EBADF on too-large file sizes.

15 years agokclient: bug on bad msg in msgr
Sage Weil [Fri, 25 Sep 2009 23:26:34 +0000 (16:26 -0700)]
kclient: bug on bad msg in msgr

15 years agofilestore: use btrfs TRANS_RESV_START ioctl if present
Sage Weil [Fri, 25 Sep 2009 18:19:08 +0000 (11:19 -0700)]
filestore: use btrfs TRANS_RESV_START ioctl if present

This will detect ENOSPC when starting the transaction, instead of
failing part way through.

15 years agoosd: make shutdown msg higher priority
Sage Weil [Fri, 25 Sep 2009 18:18:17 +0000 (11:18 -0700)]
osd: make shutdown msg higher priority

This makes cosd more responsive to SIGTERM.

15 years agomsgr: be a bit more verbose during shutdown
Sage Weil [Mon, 28 Sep 2009 20:47:50 +0000 (13:47 -0700)]
msgr: be a bit more verbose during shutdown

At least until this bug is found:

09.09.28 15:16:54.678277 140100507507024 -- 10.10.10.92:6800/5504/0 >> 10.10.10.88:6789/0/0 pipe(0x186ae90 sd=61 pgs=0 cs=0 ltx=1).accept replacing existing (lossy) channel
msg/SimpleMessenger.cc: In function 'void SimpleMessenger::reaper()':
msg/SimpleMessenger.cc:1925: FAILED assert(lock.is_locked())
 1: /usr/bin/cosd(_ZN15SimpleMessenger6reaperEv+0x59d) [0x45493d]
 2: /usr/bin/cosd(_ZN15SimpleMessenger4waitEv+0x4d) [0x45574d]
 3: /usr/bin/cosd(main+0xfe0) [0x44e770]
 4: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f6befc145a6]
 5: /usr/bin/cosd(__gxx_personality_v0+0x1b9) [0x44d4e9]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

15 years agouclient: get_local_osd() to find an osd with the given ip
Sage Weil [Mon, 28 Sep 2009 20:47:22 +0000 (13:47 -0700)]
uclient: get_local_osd() to find an osd with the given ip

15 years agokclient: fix generic xattr calls
Sage Weil [Mon, 28 Sep 2009 17:58:51 +0000 (10:58 -0700)]
kclient: fix generic xattr calls

It compiles now :)

15 years agokclient: user.ceph.layout readonly for now
Sage Weil [Mon, 28 Sep 2009 17:56:05 +0000 (10:56 -0700)]
kclient: user.ceph.layout readonly for now

15 years agoosdmaptool: more usage
Sage Weil [Mon, 28 Sep 2009 17:09:23 +0000 (10:09 -0700)]
osdmaptool: more usage

15 years agoconfig: allow object replication from 1-10 (instead of 2-3)
Sage Weil [Mon, 28 Sep 2009 17:08:18 +0000 (10:08 -0700)]
config: allow object replication from 1-10 (instead of 2-3)

15 years agokclient: check xattr readonly flag on setxattr, removexattr
Sage Weil [Mon, 28 Sep 2009 17:06:48 +0000 (10:06 -0700)]
kclient: check xattr readonly flag on setxattr, removexattr

15 years agokclient: add helper to set allowed xattr prefixes
Sage Weil [Mon, 28 Sep 2009 16:54:54 +0000 (09:54 -0700)]
kclient: add helper to set allowed xattr prefixes

15 years agokclient: distinguish file vs dir xattrs; move the getvxattr_cb under i_lock
Sage Weil [Mon, 28 Sep 2009 16:37:28 +0000 (09:37 -0700)]
kclient: distinguish file vs dir xattrs; move the getvxattr_cb under i_lock

15 years agokclient: do not recurse into truncate|invalidate pages
Sage Weil [Fri, 25 Sep 2009 22:58:16 +0000 (15:58 -0700)]
kclient: do not recurse into truncate|invalidate pages

A single open O_TRUNC on a file dirty pages would

-> truncate
-> put_wrbuffer_refs
-> check_caps
-> invalidate ... and deadlock

So, do not invalidate here if we have a pending truncate (which
remains elevated until after the truncate finishes).

15 years agouclient: Pass in the right variables to update_inode_file_bits!
Greg Farnum [Fri, 25 Sep 2009 22:55:04 +0000 (15:55 -0700)]
uclient: Pass in the right variables to update_inode_file_bits!

15 years agouclient: Rework update_inode_file_bits to mimic kclient; better debugging
Greg Farnum [Fri, 25 Sep 2009 22:54:18 +0000 (15:54 -0700)]
uclient: Rework update_inode_file_bits to mimic kclient; better debugging

15 years agouclient: Pass uid/gid from ll_create to _mknod
Greg Farnum [Thu, 24 Sep 2009 23:16:15 +0000 (16:16 -0700)]
uclient: Pass uid/gid from ll_create to _mknod
Add some debugging outputs

15 years agouclient/filepath: Update filepath's empty() function and switch make_request_from_Met...
Greg Farnum [Thu, 24 Sep 2009 21:21:45 +0000 (14:21 -0700)]
uclient/filepath: Update filepath's empty() function and switch make_request_from_Meta to use that

15 years agofuse: have FUSE enforce permissions
Greg Farnum [Thu, 24 Sep 2009 18:48:01 +0000 (11:48 -0700)]
fuse: have FUSE enforce permissions