Re: Low-level trace-buffers in CAM

2015-10-26 Thread Adrian Chadd
Hi, ok. So this is where I create work for people. :-) Something I've been tossing up for quite some time is a generic version of this that exposes a ring-buffer of entries back to userland. For things like this, things like ALQ/KTR, etc, it's all just a producer-consumer ring based thing. You do

Re: Converting LBAs to byte offsets through the GEOM stack

2014-12-28 Thread Adrian Chadd
On 28 December 2014 at 11:48, Pokala, Ravi wrote: > Hi Adrian, > >>So I had a thing that I attached commands to that would funnel down to >>the geom layer that did this mirroring/caching/remapping thing, and it >>would handle schedule the commands to whatever block(s) on whatever >>disk(s) actuall

Re: Converting LBAs to byte offsets through the GEOM stack

2014-12-20 Thread Adrian Chadd
On 20 December 2014 at 11:54, Pokala, Ravi wrote: > Hi Adrian, > >>So when doing stuff like this, I ended up piggybacking commands through >>the translation layers, so stuff was done (a) in line with the rest of IO >>processing, and (b) wouldn't suffer from stale data. > > Could you expand on that

Re: Converting LBAs to byte offsets through the GEOM stack

2014-12-19 Thread Adrian Chadd
Hi, So when I did stuff like this back in the day, I also had to deal with some layers doing not just straight static translations, but things like dynamic sector remapping for what was effectively software error correction. Reaching "around" the layers with some mapping from virtual -> physical d

Re: FreeBSD-10 microdrive seagate ST1AT 4GB (VIA mbo) problem

2013-11-21 Thread Adrian Chadd
Well, if the disk itself is throwing errors that early in boot, you've got a much bigger problem. Sometimes these things do things with partition schemes and filesystems behind the scenes. Maybe the CF microcontroller in the card is confused? -adrian On 21 November 2013 10:28, Berislav Purgar

Re: Is it possible to run gpart and newfs on file without root access (without mdconfig)?

2013-01-23 Thread Adrian Chadd
On 21 January 2013 06:08, Andriy Gapon wrote: > I would be more happy to have gpart-in-userland :-) Well, we need geom-in-userland. That would let us do arbitrary manipulation of partition tables in files and disk images as needed. It'd also allow for some very cool regression testing. Adria

Re: Is it possible to run gpart and newfs on file without root access (without mdconfig)?

2013-01-20 Thread Adrian Chadd
On 20 January 2013 00:32, Xin Li wrote: >> Patches to build and install world without root access will hit >> tree in near future, and I wonder is it possible to build complete >> NanoBSD image without root access? Now image is built via creating >> MD disk and it needs root access anyway :( Is h

Re: Is it possible to run gpart and newfs on file without root access (without mdconfig)?

2013-01-20 Thread Adrian Chadd
On 19 January 2013 03:01, Lev Serebryakov wrote: > Hello, Freebsd-geom. > > Patches to build and install world without root access will hit tree > in near future, and I wonder is it possible to build complete NanoBSD > image without root access? Now image is built via creating MD disk and > it n

Re: [RFC, RFT] LDM support (aka Windows Dynamic Volumes)

2012-03-12 Thread Adrian Chadd
2012/3/11 Andrey V. Elsukov : > On 11.03.2012 23:31, Adrian Chadd wrote: >> This is awesome! >> >> Is it just read-only, or does it allow creation/destruction of LDM volumes? > > It is read-only, but you can partially destroy LDM metadata on given disk. > LDM keeps in

Re: [RFC, RFT] LDM support (aka Windows Dynamic Volumes)

2012-03-11 Thread Adrian Chadd
This is awesome! Is it just read-only, or does it allow creation/destruction of LDM volumes? Adrian 2012/3/11 Andrey V. Elsukov : > Hi, All > > i wrote GEOM_PART_LDM class. It provides basic support of Logical Disk Manager > partitioning scheme [1]. Since LDM metadata is not documented i used s

Re: GEOM_LZMA

2011-01-20 Thread Adrian Chadd
Well, creating a generic geom_compress module shouldn't increase the size by all that much. It's just a few function pointers that point at the decompression class. The rest of the format is the same, right? (ie, how it's broken into chunks, the chunks are separately compressed, etc.) This is grea

Re: GEOM_LZMA

2011-01-19 Thread Adrian Chadd
On 19 January 2011 18:54, Alexandr Rybalko wrote: > Hi, > > I`m happy to introduce GEOM_ULZMA module and utilitie to create an ulzma > image. > > Think now it in acceptable for testing/reviewing/committing state. > > Wait for your questions. :) I like it. I'd like to see the ulzma and gz stuff u