Re: [PATCH 02/13] scsi/osd: don't save block errors into req_results

2017-05-26 Thread Martin K. Petersen
Christoph, > We will only have sense data if the command exectured and got a SCSI > result, so this is pointless. "executed" Reviewed-by: Martin K. Petersen <martin.peter...@oracle.com> -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from th

Re: [PATCH 02/35] block: add REQ_OP definitions and bi_op/op fields

2016-01-06 Thread Martin K. Petersen
y the REQ_ prefix in bios since the flags were consolidated a while back. When I attempted to fix the READ/WRITE mess I used a BLK_ prefix as a result. Anyway. Just bikeshedding... -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH 00/35 v2] separate operations from flags in the bio/request structs

2016-01-06 Thread Martin K. Petersen
ces and everything looks sensible to me. I wonder what the best approach is to move a patch set with this many stakeholders forward? Set a "speak now or forever hold your peace" review deadline? -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list:

Re: [dm-devel] [PATCH] block: add a bi_error field to struct bio

2015-06-04 Thread Martin K. Petersen
headache. I am entirely in favor of this patch. It was a big chunk of changes to read through but I did not spot any obvious problems or polarity reversals. It would be nice to get the respective fs/md/target driver folks to check their portions, though. Reviewed-by: Martin K. Petersen martin.peter

Re: mkfs.btrfs vs fstrim on an SD Card (not SSD)

2014-08-22 Thread Martin K. Petersen
echo scsi:scsi_dispatch_cmd_start Chris /sys/kernel/debug/tracing/set_event echo 1 Chris /sys/kernel/debug/tracing/tracing_on cat Chris /sys/kernel/debug/tracing/trace_pipe MMC doesn't go through SCSI like ATA does. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from

Re: btrfs on whole disk (no partitions)

2014-06-23 Thread Martin K. Petersen
scsi:scsi_dispatch_cmd_start /sys/kernel/debug/tracing/set_event # echo 1 /sys/kernel/debug/tracing/tracing_on [do stuff] # cat /sys/kernel/debug/tracing/trace -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: btrfs on whole disk (no partitions)

2014-06-23 Thread Martin K. Petersen
. There are a few exceptions to this such as direct I/O, legacy filesystems using bufferheads and raw block device access. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org

Re: Using BTRFS on SSD now ?

2014-06-08 Thread Martin K. Petersen
reason for a drive vendor to implement that page unless the drive actually supports queued trim. And consequently it's perfectly normal for that page to be absent. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: Using BTRFS on SSD now ?

2014-06-05 Thread Martin K. Petersen
. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: discard synchronous on most SSDs?

2014-03-14 Thread Martin K. Petersen
code to hdparm, or both... -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] btrfs-progs: mkfs: allow not to trim a device

2012-03-20 Thread Martin K. Petersen
. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Is it possible for the ext4/btrfs file system to pass some context related info to low level block driver?

2011-05-03 Thread Martin K. Petersen
of weeks ago at the Linux Storage Workshop. In the meantime: Can you point me to the relevant eMMC stuff so I can see how many tiers or classes we have to work with there? -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: A couple of questions

2010-06-03 Thread Martin K. Petersen
of the standard. I haven't looked into this for a long time. Last time I talked to the NFS folks they seemed to think it would be possible to bridge the two methods. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: A couple of questions

2010-06-01 Thread Martin K. Petersen
no window of error. But obviously the ideal case is where the same IMD can be passed throughout the stack without conversion. Not sure what you use for file service? I believe NFSv4 allows for checksums to be passed along. I have not looked at them closely yet, though. -- Martin K. Petersen Oracle

Re: SSD Optimizations

2010-03-11 Thread Martin K. Petersen
that reported the right thing but which did in fact return the old data afterwards. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: SSD Optimizations

2010-03-11 Thread Martin K. Petersen
perspective). -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: ssd optimised mode

2009-02-23 Thread Martin K. Petersen
anything that can be done in a Dmitri filesystem to minimise the damage of a lost eraseblock. The problem is that we have no way of knowing what's inside each erase block. We don't even know how big the erase block is. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from

Re: ssd optimised mode

2009-02-23 Thread Martin K. Petersen
and/or dt. In the filesystem case it was trivial to map out the affected files in debugfs and correlate those to a logical region on the disk. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: ssd optimised mode

2009-02-23 Thread Martin K. Petersen
Dmitri == Dmitri Nikulin dniku...@gmail.com writes: Dmitri Already SanDisk are offering a proprietary Extreme FFS Dmitri (perhaps even based on Unix FFS) for Windows Vista only. Extreme FFS is SanDisk's next generation FTL/firmware. It's not a filesystem that plugs into the OS. -- Martin K

Re: ssd optimised mode

2009-02-23 Thread Martin K. Petersen
as such. The article you posted references some benchmarketing numbers involving Vista. That does not imply it's a Windows-only product. http://en.wikipedia.org/wiki/ExtremeFFS -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-btrfs