Re: remove the legacy BLKPREP_* values

2018-11-10 Thread Jens Axboe
On 11/9/18 6:42 AM, Christoph Hellwig wrote: > Hi Jens, > > this series gets rid of the old BLKPREP_* values from the legacy block > layer in favor of always using a blk_status_t (or a bool in one case). Applied -- Jens Axboe

[PATCH 0/3] SG_IO command filtering via sysfs

2018-11-10 Thread Paolo Bonzini
Currently, SG_IO ioctls are implemented so that non-CAP_SYS_RAWIO users can send commands from a predetermined whitelist. The whitelist is very simple-minded though, and basically corresponds to MMC commands---the idea being that it would be nice for local users to read/copy/burn CDs. This was pr

[PATCH 3/3] block: add back command filter modification via sysfs

2018-11-10 Thread Paolo Bonzini
This adds two new sysfs attributes to the queue kobject. The attributes allow reading and writing the whitelist of unprivileged commands. This is again a bit different from what was removed in commit 018e044 (block: get rid of queue-private command filter, 2009-06-26), but the idea is the same.

[PATCH 2/3] scsi: create an all-one filter for scanners

2018-11-10 Thread Paolo Bonzini
Any command is allowed for scanners when /dev/sg is used. Reimplement this using customizable command filters, so that the sysfs knobs will work in this case, too. Cc: linux-scsi@vger.kernel.org Cc: Hannes Reinecke Cc: Martin K. Petersen Cc: James Bottomley Signed-off-by: Paolo Bonzini --- dr

[PATCH 1/3] block: add back queue-private command filter

2018-11-10 Thread Paolo Bonzini
The command filter used to be mutable via sysfs, but this was broken and backed out. Let's add it back. This patch adds the infrastructure for filtering, but unlike the old code this one just adds a pointer to request_queue, so as to make it cheaper in the majority of cases where no special filteri

Re: [PATCH 0/3] SG_IO command filtering via sysfs

2018-11-10 Thread Theodore Y. Ts'o
I wonder if a better way of adding SG_IO command filtering is via eBPF? We are currently carrying a inside Google a patch which allows a specific of SCSI commands to non-root processes --- if the process belonged to a particular Unix group id. It's pretty specific to our use case, in terms of the

Re: [PATCH] aha1542: convert to DMA mapping API

2018-11-10 Thread Christoph Hellwig
> > @@ -826,7 +881,8 @@ static int aha1542_dev_reset(struct scsi_cmnd *cmd) > > > > aha1542->aha1542_last_mbo_used = mbo; > > > > - any2scsi(mb[mbo].ccbptr, isa_virt_to_bus(&ccb[mbo])); /* This gets > > trashed for some reason */ > > + /* This gets trashed for some reason */ > > +

[PATCH v3] aha1542: convert to DMA mapping API

2018-11-10 Thread Christoph Hellwig
aha1542 is one of the last users of the legacy isa_*_to_bus APIs, which also isn't portable enough. Convert it to the proper DMA mapping API. Thanks to Ondrej Zary for testing and finding and fixing a crucial bug. Signed-off-by: Christoph Hellwig --- Changes since v2: - fix another sizeof of

Re:Hi

2018-11-10 Thread Cynthia Hazem
How are you doing today,hope fine,My name is cynthia and i am a girl. I saw your contact email today and decided to extend my greetings to you. But I do have the mind that you could be a nice person is my believe and there are nice people out there who can appreciate the value of friendship.and

Re:Hi

2018-11-10 Thread Cynthia Hazem
How are you doing today,hope fine,My name is cynthia and i am a girl. I saw your contact email today and decided to extend my greetings to you. But I do have the mind that you could be a nice person is my believe and there are nice people out there who can appreciate the value of friendship.and

SPENDE

2018-11-10 Thread info
Sehr geehrter Herr/Frau, Wir freuen uns, Ihnen mitzuteilen, dass Sie ausgewählt wurden, um die Summe zu erhalten €2,000,000.00 Euro aus Mitteln der Mavis Wanczyk Hilfe. Mein Name ist Mavis Wanczyk der Gewinner des 758,7 Millionen US-Dollar in der Power Ball Lotterie Jackpot als der größte Preis

[PATCH] scsi: csiostor: remove automatic irq affinity assignment

2018-11-10 Thread Varun Prakash
If number of interrupt vectors are more than num_online_cpus() then pci_alloc_irq_vectors_affinity() assigns cpumask based on num_possible_cpus() to the remaining vectors because of this interrupts are not generating for these vectors. This patch fixes this issue by using pci_alloc_irq_vectors() i

Re: [PATCH v1] sg3_utils: sg_write_buffer: convert string to integer while reading from stdio

2018-11-10 Thread Bean Huo (beanhuo)
Hi, Doug Gilbert >>On 2018-11-09 7:18 p.m., Bean Huo (beanhuo) wrote: >> This patch is to convert inputted string to the integer when read data >> from stdin. While entering data, the data between bytes can be >> separated by space, or by ',' or by '.'. > >Could you send me this patch against sg_wr

RE,

2018-11-10 Thread Miss Juliet Muhammad
I have a deal for you, in your region.