Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for REQ (0.01 sec)

  1. cmd/xl-storage.go

    func (s *xlStorage) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error {
    	defer xioutil.SafeClose(resp)
    
    	volumeDir := pathJoin(s.drivePath, req.Bucket)
    	found := 0
    	for _, f := range req.Files {
    		if contextCanceled(ctx) {
    			return ctx.Err()
    		}
    		r := ReadMultipleResp{
    			Bucket: req.Bucket,
    			Prefix: req.Prefix,
    			File:   f,
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    func (p *xlStorageDiskIDCheck) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadMultiple, req.Bucket, req.Prefix)
    	if err != nil {
    		xioutil.SafeClose(resp)
    		return err
    	}
    	defer done(0, &err)
    
    	return p.storage.ReadMultiple(ctx, req, resp)
    }
    
    // CleanAbandonedData will read metadata of the object on disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top