| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The "perf_counter_reset" case has already been handled above.
Moreover "ORANGEFS_PARAM_REQUEST_OP_READAHEAD_COUNT_SIZE" is not a really
consistent.
It is likely that this (dead) code is a cut and paste left over.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pull in an OrangeFS branch containing miscellaneous improvements.
- clean up debugfs globals
- remove dead code in sysfs
- reorganize duplicated sysfs attribute structs
- consolidate sysfs show and store functions
- remove duplicated sysfs_ops structures
- describe organization of sysfs
- make devreq_mutex static
- g_orangefs_stats -> orangefs_stats for consistency
- rename most remaining global variables
|
| |
| |
| |
| |
| |
| |
| |
| | |
Only op_timeout_secs, slot_timeout_secs, and hash_table_size are left
because they are exposed as module parameters. All other global
variables have the orangefs_ prefix.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
| |
| |
| |
| | |
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
| |
| |
| |
| | |
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
| |
| |
| |
| | |
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
| |
| |
| |
| |
| |
| | |
Remove a good bit of obfuscated and duplicated code.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We had a separate struct type for each type of attribute, but they all
did the exact same thing. Consolidate them into one
struct orangefs_attribute type.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We had a pageful of structures containing kobjects and variables to store
sysfs entries. However only the kobjects were in use. Replace them with
kobjects.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
|/
|
|
| |
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
|
|
|
| |
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This will support a upcoming request where two related values need to be
updated atomically.
This was done without a union in the OrangeFS server source already. Since
that will break the kernel protocol, it has been fixed there and done here
in a way that does not break the kernel protocol.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
|
|
|
| |
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
|
|
|
|
| |
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* create with refcount 1
* make op_release() decrement and free if zero (i.e. old put_op()
has become that).
* mark when submitter has given up waiting; from that point nobody
else can move between the lists, change state, etc.
* have daemon read/write_iter grab a reference when picking op
and *always* give it up in the end
* don't put into hash until we know it's been successfully passed to
daemon
* move op->lock _lower_ than htab_in_progress_lock (and make sure
to take it in purge_inprogress_ops())
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
|
|
Also changed references within source files that referred to
header files whose names had changed.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
|