| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This could be working around a prematurely released inode,
but the result can stably save, expand, configure, and
build linux-3.11.4 (stability).
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
| |
Signed-off-by: David Zafman <david.zafman@inktank.com>
|
|
|
|
|
|
|
| |
Supply a buffer and copy the data into it. Do not ever expose internal
pointers from libcephfs's own cache.
Signed-off-by: Sage Weil <sage@inktank.com>
|
|
|
|
|
|
|
|
|
|
|
| |
For xattrs, we only include them in the reply if we are issuing caps on
them. However, in the getattr case, we need to include the snapshot of the
current state.
The original problem is reproduced by LibCephFS.Xattrs_ll (a simple set
then get).
Signed-off-by: Sage Weil <sage@inktank.com>
|
|
|
|
| |
Signed-off-by: Andrey Kuznetsov <Andrey_Kuznetsov@epam.com>
|
|
|
|
| |
Signed-off-by: Andrey Kuznetsov <Andrey_Kuznetsov@epam.com>
|
|
|
|
| |
Signed-off-by: Andrey Kuznetsov <Andrey_Kuznetsov@epam.com>
|
|
|
|
|
|
|
|
|
| |
This patch exposes all changes made for interfacing with Ganesha
and layout support and David Zafman's proposed modifications to
the low-level API.
Signed-off-by: Adam Emerson <aemerson@linuxbox.com>
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adapts the FUSE client to David Zafman's proposed interface
changes.
(Includes pieces of NFS interface widening by Adam.)
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Conflicts:
src/client/fuse_ll.cc
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
| |
(Includes pieces of NFS interface widening by Adam.)
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
|
|
|
|
| |
These methods were created to implement pNFS data server support,
bypassing cap checks since the pNFS MDS holds a cap on behalf of
the client, realized in the recallable layout.
(Includes pieces of API v2 by Matt.)
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to construct pNFS layouts and DS filehandles that
match the Ceph clustering, placement, and striping structure.
(Includes pieces of API v2 by Matt.)
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Conflicts:
src/client/Client.cc
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit implements a set of API changes proposed by
"David Zafman" <david.zafman@inktank.com>.
The principle change is consistently use Ceph Inode pointers as
context for inode operations, in place of materialized snapid,
inode# (vinodeno_t) tuples.
This provides a strictly handle-based interface to users. They can either
do lookups themselves, or call a lookup method to get an Inode* from a
vinodeno_t.
(Build fixed in later commits, e.g., SyntheticClient.cc.)
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
| |
This is more natural for both FUSE and Ganesha.
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
|
| |
This appears to save us a bit of extra work trying to fill up the buffer
further than it can be filled.
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This gives us a framework to implement commit operations that are
guaranteed to terminate even if unstable writes come in after commit
is called.
Adapted to use Boost interval classes by Adam Emerson
<aemerson@linuxbox.com>.
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
| |
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
| |
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
|
|
|
|
| |
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
|
|\
| |
| |
| |
| | |
librados: drop #include of int_types.h from installed headers
Reviewed-by: Dan Mick <dan.mick@inktank.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
These are unnecessary, and breaks compilation for outside users.
Prefer inttypes.h over stdint.h.
Signed-off-by: Sage Weil <sage@inktank.com>
|
|\ \
| |/
|/| |
bloom filter cleanups, encodability, and unit tests
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| |
| |
| | |
These are slow and are not useful.
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| |
| |
| |
| | |
This will let us pass in an hobject_t::hash directly (for example) without
rehashing a string.
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fun facts:
- fpp = false positive probability
- fpp is a function of insert count only
- at .1% fpp, we pay about 2 bytes per insert
- at 1-2% fpp, we pay about 1 byte per insert
- at 15% fpp, we pay about .5 bytes per insert
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We pass the ctor our target behavior and calculate parameters based on
that. Avoid storing the target behavior, and make that calc a static
method. And add a new ctor that takes the parameters explicitly.
Signed-off-by: Sage Weil <sage@inktank.com>
|
| |
| |
| |
| |
| |
| | |
3 space tabs.. blech. Let's not change it now, though.
Signed-off-by: Sage Weil <sage@inktank.com>
|
|\ \
| | |
| | | |
sync up COPYING and debian/copyright
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Again, debian-specific, but who cares.
Signed-off-by: Sage Weil <sage@inktank.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This may not be necessary here, but it makes this identical to the
debian/copyright file, which is a win.
Signed-off-by: Sage Weil <sage@inktank.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Sage Weil <sage@inktank.com>
|
|\ \
| | |
| | | |
ceph-disk: make initial journal files 0 bytes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The ceph-osd will resize journal files up and properly fallocate() them
so that the blocks are preallocated and (hopefully) contiguous. We
don't need to do it here too, and getting fallocate() to work from
python is a pain in the butt.
Fixes: #5981
Signed-off-by: Sage Weil <sage@inktank.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
#6422
Reviewed-by: Sage Weil <sage@inktank.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add new safe_read_file() and safe_write_file() to update files atomically
Used instead of original OSD::read_meta(), OSD::write_meta() they are based on
Used by read_superblock() and write_superblock()
Used by write_version_stamp() and version_stamp_is_valid()
Fixes: #6422
Signed-off-by: David Zafman <david.zafman@inktank.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: David Zafman <david.zafman@inktank.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: David Zafman <david.zafman@inktank.com>
|
|\ \ \ \
| | | | |
| | | | | |
ErasureCode: doc updates
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Based on a dialog with Sam ( as published at http://dachary.org/?p=2320 ).
* Remove PGBackend-h.rst because PGBackend.h is now in master.
* Fix typos caught by ispell
* Update recovery links to point to PGBackend recover methods
* Workaround formating warning
developer_notes.rst:3: WARNING: Duplicate explicit target name:
"erasurecodepluginexample" which should be legitimate.
Signed-off-by: Loic Dachary <loic@dachary.org>
|