- demote "mmap readpage - check locks" message to a CDEBUG
- don't try to set mtime on OSTs if there's no LSM (file not yet opened)
- print which client (nid) returned an error from a blocking AST
file = filp_open(debug_file_name, O_CREAT|O_TRUNC|O_RDWR, 0644);
if (!file || IS_ERR(file)) {
- CERROR("cannot open %s for dumping", debug_file_name);
+ CERROR("cannot open %s for dumping: %ld\n", debug_file_name,
+ PTR_ERR(file));
GOTO(out, PTR_ERR(file));
} else {
printk(KERN_ALERT "dumping log to %s ... writing ...\n",
file = filp_open(debug_file_name, O_CREAT|O_TRUNC|O_RDWR, 0644);
if (!file || IS_ERR(file)) {
- CERROR("cannot open %s for dumping", debug_file_name);
+ CERROR("cannot open %s for dumping: %ld\n", debug_file_name,
+ PTR_ERR(file));
GOTO(out, PTR_ERR(file));
} else {
printk(KERN_ALERT "dumping log to %s ... writing ...\n",