Displaying 3 results from an estimated 3 matches for "n_start".
Did you mean:
_start
2012 Feb 06
0
[PATCH] Btrfs-progs: make scrub IO priority configurable
...->scrub_args);
gettimeofday(&tv, NULL);
sp->ret = ret;
@@ -1068,6 +1083,8 @@ static int scrub_start(int argc, char **argv, int resume)
int do_record = 1;
int readonly = 0;
int do_stats_per_dev = 0;
+ int ioprio_class = 3; /* IOPRIO_CLASS_IDLE */
+ int ioprio_classdata = 0;
int n_start = 0;
int n_skip = 0;
int n_resume = 0;
@@ -1093,7 +1110,7 @@ static int scrub_start(int argc, char **argv, int resume)
u64 devid;
optind = 1;
- while ((c = getopt(argc, argv, "BdqrR")) != -1) {
+ while ((c = getopt(argc, argv, "BdqrRc:n:")) != -1) {
switch (c) {...
2011 May 31
0
ENC: Using lm() combined with sapply
...<- coef(lm(a ~ b + c,
subset=1:i))
I want to avoid loops, so I was trying to make something like:
regride <- function(formula,dat,sub,w) {
window <- c(1:sub)
w[1:sub-1] <- w[1:sub-1]*beta^sub
coefs(lm(formula=formula,data=dat,subset=window,weights=w))
}
coefs <- sapply(n_start:dim(ind)[1],regride,formula,dat,x)
But it's not working.
Best regards,
Caio Casimiro
--
Caio Ramos Casimiro
Software Developer
+55 11 9773 2809
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mai...
2011 Jul 18
5
[PATCH v3 0/5] btrfs-progs: scrub interface
This is the next patch series for scrub userland tools.
Change log v1->v2:
- commands now reachable as "btrfs scrub ..." instead of "btrfs filesystem
scrub ..."
- ability to scrub a single device instead of a whole file system
- superfluous command line options removed
- resume is now a separate command ("scrub resume") instead of "scrub start -r"
-