[ The following text is in the "UTF-8" character set. ]
[ Your display is set for the "iso-8859-1" character set. ]
[ Some characters may be displayed incorrectly. ]
invoke-rc.d is debian specific.
run "service ceph reload" if invoke-rc.d fails.
Signed-off-by: Sage Weil <sage@newdream.net>
on a standalone fuse client ceph serverside is not needed. if it's
"Recommended" the default behaviour is to install it too. Move it to "Suggests"
that it's not installed by default if one installs just ceph-fuse.
from debian policy:
Suggests:
This is used to declare that one package may be more useful with one or more
others. Using this field tells the packaging system and the user that the listed
packages are related to this one and can perhaps enhance its usefulness, but
that installing this one without them is perfectly reasonable.
- Thomas
Signed-off-by: Sage Weil <sage@newdream.net>
The assert should be olog.backlog, not log.backlog. But it's the same
condition as the if guard that's 3 lines up, making it pretty useless.
Just drop it.
Log it to the central log so it gets noticed, and
delete the "wrong inode" instead of just unlinking it, to prevent later crashiness.
Should at least band-aid over #312.
The gateway now supports changing the verbosity of the logging, this can be achieved by changing the
RGW_LOG_LEVEL envirioment parameter.
For Apache running systems, this can be done with mod_env: SetEnv RGW_LOG_LEVEL 20
This will change the loglevel to the highest level and produce a lot of usefull output for debugging purposes.
For now, all the messages will go to webservers logfile (For Apache: error_log)
./include/encoding.h: In member function void
Locker::issue_client_lease(CDentry*, client_t, ceph::bufferlist&, utime_t,
Session*):
./include/encoding.h:80: warning: e.LeaseStat::duration_ms may be used
uninitialized in this function
This is to let the client know we accept requests for partial content.
On HEAD requests we should also return the Content-Length header.
And we should also return the Last-Modified header with GET and HEAD requests, this way browsers and proxy's can cache content.
If we send directly to the local/loopback connection, we need to
queue it for local delivery, not go through the usual send paths.
This fixes lost replies to messages sent to self (e.g., reply to
local anchortable).
Signed-off-by: Sage Weil <sage@newdream.net>
Before, we would provide "have" and a bool "onetime" flag. The struct was
also screwed up with an extra __le64. Then have=0 was a special case
that meant "give me the latest".
The problem is this is ambiguous between the usual "give me everything
since X" and "give me your latest", because you might actually have 0 and
want 1..current.
Changes protocol and cleans up the struct:
- now "start" and "flags", where only 1 flag (ONETIME) is defined
- clean up sub_want_* methods throughout
- fix all sub_want callers to ask for _start_ (not have) epoch, or 0 for
any/latest
- add a feature bit; talks old clients w/o that bit
Signed-off-by: Sage Weil <sage@newdream.net>