Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | messenger: zero pages infrastructure (not working yet)historic/msgr_zeropages | Yehuda Sadeh | 2009-04-08 | 3 | -11/+91 |
| | |||||
* | todo | Sage Weil | 2009-04-07 | 1 | -1/+0 |
| | |||||
* | config: remove INSTALL_PREFIX | Sage Weil | 2009-04-07 | 1 | -3/+3 |
| | | | | | On a 'norma' install, it's /usr, which isn't helpful. If anything, we need sysconfdir, etc. individually. Blech. | ||||
* | uclient: fix up caps some. make dentry leases work | Sage Weil | 2009-04-07 | 2 | -98/+180 |
| | |||||
* | uclient: set fsid in statfs request | Sage Weil | 2009-04-07 | 2 | -2/+2 |
| | |||||
* | kclient: fix ino returned in fstat for 32 bit arch | Yehuda Sadeh | 2009-04-07 | 1 | -1/+1 |
| | |||||
* | kclient: don't alter mds_wanted caps if dropping caps | Yehuda Sadeh | 2009-04-07 | 1 | -1/+4 |
| | |||||
* | vstart: kill bashisms | Sage Weil | 2009-04-07 | 1 | -30/+29 |
| | |||||
* | kclient: remove alignment restrictions on O_DIRECT reads and writes | Sage Weil | 2009-04-07 | 1 | -4/+0 |
| | | | | | | These aren't needed, since we aren't restricted by DMA to a hardware disk device or any such thing. (And even if they were, it'd probably be sector alignment, not page alignment.) | ||||
* | mds: fix compilation error | Yehuda Sadeh | 2009-04-07 | 1 | -1/+1 |
| | |||||
* | mds: bump mds protocol | Yehuda Sadeh | 2009-04-07 | 1 | -1/+1 |
| | |||||
* | mds: add CEPH_CAP_OP_REVOKE | Yehuda Sadeh | 2009-04-07 | 4 | -1/+5 |
| | |||||
* | kclient: clear di->lease_session when dropping session | Yehuda Sadeh | 2009-04-07 | 1 | -0/+1 |
| | |||||
* | mds: flush log when expanding caps and filelock is unstable | Yehuda Sadeh | 2009-04-06 | 1 | -1/+8 |
| | |||||
* | mds, kclient: add CEPH_MDS_OP_CREATE operation | Yehuda Sadeh | 2009-04-06 | 4 | -5/+15 |
| | |||||
* | kclient: implement permission iop | Sage Weil | 2009-04-05 | 3 | -0/+17 |
| | | | | | | | | | The permission iop verfies we have a valid uid/gid/mode by checking for the AUTH cap. Then calls the generic helper. This is 100% consistent because we don't carry a cap ref over the permission checkout. OTOH, if we don't hold the cap and the mds doesn't actually issue it, we never will anyway. Maybe fix this eventually. | ||||
* | kclient: make do_getattr take inode, not dentry | Sage Weil | 2009-04-05 | 3 | -13/+10 |
| | |||||
* | kclient: d_alloc_anon on older kernels | Sage Weil | 2009-04-05 | 1 | -0/+4 |
| | |||||
* | mds: make sure kick wasn't immediatley fruitful in rdlock_try | Sage Weil | 2009-04-04 | 1 | -0/+3 |
| | |||||
* | mds: simplify EMetaBlob interface - don't pass explicit inode_t pointer | Sage Weil | 2009-04-04 | 5 | -26/+25 |
| | | | | It is always in->get_projected_inode(). | ||||
* | mds: fix journal replay | Sage Weil | 2009-04-04 | 5 | -16/+53 |
| | | | | | Load root inode before replaying journal. Kill root special case in journal replay. Replay root inode if it is journaled. | ||||
* | mds: journal projected inode values by default | Sage Weil | 2009-04-04 | 1 | -10/+15 |
| | | | | There was a bug in here that was journaling _old_ inode values. Doh! | ||||
* | vstart: run valgrind properly | Sage Weil | 2009-04-04 | 1 | -37/+45 |
| | |||||
* | todo | Sage Weil | 2009-04-04 | 1 | -6/+4 |
| | |||||
* | mds: make mds restart work | Sage Weil | 2009-04-04 | 1 | -38/+80 |
| | | | | Root mds needs to load root inode, .ceph directories. | ||||
* | mon: fix mds stopping and restart | Sage Weil | 2009-04-04 | 2 | -10/+12 |
| | | | | | Remove stopped mds from last_beacon (monitoring) set. Fix mdsmap dump output to include stopping set. Remove mds from stopped set on start. | ||||
* | mds: fix permissions checks on root, system inodes | Sage Weil | 2009-04-04 | 1 | -3/+12 |
| | |||||
* | mds: journal root inode changes | Sage Weil | 2009-04-04 | 4 | -17/+69 |
| | | | | Journal root inode changes, and flush them when trimming the log segment. | ||||
* | mds: inode fetch/store | Sage Weil | 2009-04-04 | 2 | -0/+110 |
| | |||||
* | objecter: only send one ping per laggy osd | Sage Weil | 2009-04-04 | 1 | -1/+6 |
| | |||||
* | objecter: add support for compound read ops (ObjectRead) | Sage Weil | 2009-04-04 | 3 | -75/+105 |
| | |||||
* | osd: implement GETXATTR read op | Sage Weil | 2009-04-04 | 1 | -0/+15 |
| | |||||
* | kclient: better readdir debug output | Sage Weil | 2009-04-03 | 2 | -5/+8 |
| | |||||
* | mds: make rdlock_try kick the lock if it blocks | Sage Weil | 2009-04-03 | 2 | -13/+23 |
| | | | | | We were strangely getting by even though it wasn't changing the lock state. Weird. | ||||
* | mds: issue AUTH_EXCL on mkdir | Sage Weil | 2009-04-03 | 1 | -0/+2 |
| | | | | Client is clearly an exclusive user, and will often chmod. | ||||
* | kclient: drop LINK_RDCACHE cap on rename source inode | Sage Weil | 2009-04-03 | 1 | -0/+2 |
| | | | | | | | This is only needed because the mds locks the srci linklock. It has to lock _some_ field on the source inode in order to make and propagate the ctime change; the linklock is generally the least contended. So humor the mds... | ||||
* | kclient: update cap->mds_wanted on revocation reply | Sage Weil | 2009-04-03 | 1 | -0/+1 |
| | | | | | Make sure our local mds_wanted reflects the value sent off to the mds during a revocation. | ||||
* | mds: do not want LINK caps for any open file; no non-FILE caps when readonly | Sage Weil | 2009-04-03 | 1 | -8/+3 |
| | | | | | | | | When readonly, we don't want anything other than FILE caps. (The mds will of course give us more when it can.) For WR and RDWR, we still want AUTH and XATTR caps, for now, since there is some possibility that the client will want to change them. | ||||
* | kclient: drop any unwanted caps when unlinking a file | Sage Weil | 2009-04-03 | 1 | -1/+20 |
| | | | | | | | | | Since we can't reopen an unlinked file, there's no reason to hold on to them. And the MDS will often want to lock to update max_size, which could mean spurious revocations. At the very least, make sure we drop the LINK caps. Do the same for the rename target, if it exists. | ||||
* | kclient: send messages with default priority (to match mds) | Sage Weil | 2009-04-03 | 1 | -1/+1 |
| | | | | | | | Make our default priority match the mds. This is only important because we occasionally resend and incoming message out again without fixing the priority to match our default, which means out-of-order processing on the other end. | ||||
* | msgr: show seq # of incoming messages | Sage Weil | 2009-04-03 | 1 | -0/+1 |
| | |||||
* | mds: alloc wrlock by EXCL client | Sage Weil | 2009-04-03 | 1 | -1/+1 |
| | | | | Not sure why this was off. It is allowed in EXCL_MIX... | ||||
* | mds: don't issue new caps with a revocation | Sage Weil | 2009-04-03 | 1 | -1/+5 |
| | | | | This is a really just a heuristic... | ||||
* | kclient: queue inode for cap check if mds_wanted mismatch | Sage Weil | 2009-04-03 | 2 | -1/+18 |
| | | | | | | | | If mds_wanted in add_cap is more than we actually want (for example, on a getattr that races with a cap wanted release), requeue a cap check. We don't want to release immediately if we can help it because something like readdir would prematurely (?) release caps we're holding on to for good measure... | ||||
* | mds: fix wanted updates | Sage Weil | 2009-04-03 | 1 | -5/+11 |
| | | | | | | | | Check issue_seq, not seq, for wanted updates. We're primarily worried about racing against a lookup+open, which means we only need to worry about an _issue_ (not a cap grant or revocation). Allow wanted _expansion_ even if seq mismatch, though! | ||||
* | mds: clean up issue_new_caps interface | Sage Weil | 2009-04-03 | 3 | -21/+10 |
| | |||||
* | kclient: fix session leak | Yehuda Sadeh | 2009-04-03 | 1 | -5/+6 |
| | |||||
* | kclient: grab inode before queue_cap_snap; cleanup | Yehuda Sadeh | 2009-04-03 | 2 | -3/+6 |
| | |||||
* | kclient: fix some log messages | Yehuda Sadeh | 2009-04-03 | 1 | -2/+6 |
| | |||||
* | uclient: mksnap/rmsnap via mkdir/rmdir | Sage Weil | 2009-04-03 | 2 | -40/+4 |
| |