Ending SCSI request in block level driver


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Ending SCSI request in block level driver
# 1  
Old 06-11-2011
Ending SCSI request in block level driver

hi,

We are currently working on block level driver in linux ubuntu .we are having a storage controller and we are trying to capture and filling the scsi requests to a particular LUN.

We are trying to mask a request for that LUN. We were able to get LUN id of hard drive. Our objective is to restrict all the request for that particular LUN at the block level.

We tried to end the request using blk_end_request/blk_end_request_all when the request is to the LUN id that we are trying to mask ,
but while trying this our server got hanged.

SO Please help us , how to end the request for particular LUN without ending other request for other LUNs.Because all the scsi requests are going thorugh do_cciss_request only.

Thanks in Advance
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Query about Block Level Migration

Hi We are planning to migrate to a new SAN storage environment. Our RHEL5.5 servers boot over SAN. 1. I was wondering if using "lvm mirroring" or "pvmove" would be a solution. 2. Do they do block level transfer? Thanks (1 Reply)
Discussion started by: ikn3
1 Replies

2. AIX

Readcd: Error 0. Cannot open SCSI driver.

i'm trying to burn an DVD ISO into a VIOS virtual optical drive when i try a scanbus i have a failure message : Can u help me please guys ---------- Post updated at 03:38 PM ---------- Previous update was at 12:20 PM ---------- I can't burn in ISO format, so i have to type... (0 Replies)
Discussion started by: Tharsan
0 Replies

3. Red Hat

SSL certificate generation on OS level or application level

We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Discussion started by: RHCE
3 Replies

4. Hardware

Difference between platform driver,codec driver and Machine driver

In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

5. UNIX for Advanced & Expert Users

SCSI Command Sample Driver

Can anybody get me some sample driver code of linux block drivers to send request to scsi disks? Basically I need a sample code of linux scsi block driver. I tried googling for sample code but did not find it. (1 Reply)
Discussion started by: rupeshkp728
1 Replies

6. Ubuntu

Request function in block driver

How to end the request(I/O) in block driver for particular disk drive without affecting other request intended for some other drives. (1 Reply)
Discussion started by: coeteam
1 Replies

7. Linux

Increasing total data size per file system request for block drivers

Hi All, I am writing a block driver for a 2GB SD card where i get the total amount of data per request as follows: struct request *req; uint card_addr,total_bytes; struct request_queue *rq = BlkDev->queue; req = elv_next_request(rq); .. .. card_addr = req->sector*512;... (1 Reply)
Discussion started by: amio
1 Replies

8. Solaris

Difference between run level & init level

what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies

9. SCO

ultra 320 scsi raid controller driver for sco 5.0.6

I am facing a problem to install sco 5.0.6 in Dell Power Edge SC1420 which raid controller is ultra 320 scsi raid controller . how/from where to download the ultra 320 scsi raid controller driver for sco 5.0.6. Plz help with any idea karzon (1 Reply)
Discussion started by: karzon
1 Replies

10. Solaris

SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ?

I've been researching minimizeing Solaris 8 and found that on the web page http://www.sun.com/bigadmin/content/packagelist/s8u7PkgList/p2.html the package SUNWglmr is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies
Login or Register to Ask a Question
seeded-in-ubuntu(1)					      General Commands Manual					       seeded-in-ubuntu(1)

NAME
seeded-in-ubuntu - Determine whether a package is safe to upload during a freeze SYNOPSIS
seeded-in-ubuntu [options] package... DESCRIPTION
Lists all the current daily images containing the specified packages. Or whether the package is part of the supported seed. If it isn't on an image, it should be safe to upload. During the final freeze, one should avoid packages in the supported seed too. An index of the current manifests is downloaded from UbuntuWire. OPTIONS
-b, --binary The packages specified are binary packages. This is faster than source packages, as otherwise we must query LP to determine the binary packages that every specified source package builds. -u URL, --data-url=URL URL for index of seeded packages. Default: UbuntuWire's service at http://qa.ubuntuwire.org/ubuntu-seeded-packages/seeded.json.gz. -h, --help Display a help message and exit EXAMPLES
All the images that contain unity: seeded-in-ubuntu -b unity AUTHORS
seeded-in-ubuntu and this manpage were written by Stefano Rivera <stefanor@ubuntu.com>. Both are released under the terms of the ISC License. ubuntu-dev-tools December 2011 seeded-in-ubuntu(1)